From 8fa4144415ced9d96eb79a3375767384d32a126a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Mon, 5 Oct 2020 18:08:57 +0200 Subject: [PATCH] Testdays: Try destructive init --- roles/openshift-apps/testdays/templates/deploymentconfig.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openshift-apps/testdays/templates/deploymentconfig.yml b/roles/openshift-apps/testdays/templates/deploymentconfig.yml index 3960d8beb9..b361ebfac0 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: