diff --git a/run_server.py b/run_server.py index fe11bea94..dcc61c8b7 100644 --- a/run_server.py +++ b/run_server.py @@ -38,8 +38,8 @@ except: def make_migrations(): print("Check database change, make migrations") - os.chdir(os.path.join(BASE_DIR, 'utils')) - subprocess.call('bash make_migrations.sh', shell=True) + os.chdir(os.path.join(BASE_DIR, 'apps')) + subprocess.call('python manage.py migrate', shell=True) def collect_static():