mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 13:17:08 +00:00
Run exports before database upgrade
This commit is contained in:
@@ -43,7 +43,7 @@ create_survey = os.path.join(bin_path, "create_survey.sh")
|
||||
runner = "RUNNER_NOEXPORT=true RUNNER_IMPORT=true " + os.path.join(bin_path, "runner.sh")
|
||||
|
||||
print(system_exports)
|
||||
#os.system(system_exports)
|
||||
os.system(system_exports)
|
||||
|
||||
cmd = f"psql -U {dbuser} -d template1 -c 'DROP DATABASE {dbname};'"
|
||||
print(cmd)
|
||||
|
||||
Reference in New Issue
Block a user