Testdays: Try destructive init

This commit is contained in:
František Zatloukal 2020-10-05 18:08:57 +02:00
parent d1edc6db3d
commit 8fa4144415

View file

@ -20,7 +20,7 @@ spec:
containerName: testdays containerName: testdays
# We only need to init the database the first time, after we just need to check # We only need to init the database the first time, after we just need to check
# for DB upgrades # for DB upgrades
# command: ["python", "/opt/app-root/src/testdays/cli.py", "init_db"] command: ["python", "/opt/app-root/src/testdays/cli.py", "init_db", "--destructive"]
command: ["python", "/opt/app-root/src/testdays/cli.py", "upgrade_db"] command: ["python", "/opt/app-root/src/testdays/cli.py", "upgrade_db"]
template: template:
metadata: metadata: