From 8fa4144415ced9d96eb79a3375767384d32a126a Mon Sep 17 00:00:00 2001 From: FrantiĊĦek Zatloukal Date: Oct 05 2020 16:08:57 +0000 Subject: Testdays: Try destructive init --- diff --git a/roles/openshift-apps/testdays/templates/deploymentconfig.yml b/roles/openshift-apps/testdays/templates/deploymentconfig.yml index 3960d8b..b361ebf 100644 --- a/roles/openshift-apps/testdays/templates/deploymentconfig.yml +++ b/roles/openshift-apps/testdays/templates/deploymentconfig.yml @@ -20,7 +20,7 @@ spec: containerName: testdays # We only need to init the database the first time, after we just need to check # 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"] template: metadata: