From 07007e0f17bfd5cbfdbbb2b75ea37465ea6a26f1 Mon Sep 17 00:00:00 2001 From: Bion Johnson Date: Wed, 12 Apr 2023 17:39:37 -0700 Subject: [PATCH] Add DATABASE_APPLY_DESTRUCTIVE_CHANGES --- civiform_config.example.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/civiform_config.example.sh b/civiform_config.example.sh index 43a938c..f1607a1 100644 --- a/civiform_config.example.sh +++ b/civiform_config.example.sh @@ -64,7 +64,13 @@ export DOCKER_USERNAME="civiform" # Supported values: "oidc", "saml" export CIVIFORM_APPLICANT_AUTH_PROTOCOL="" - +# OPTIONAL +# Enable this flag to allow rolling back to previous release versions that may require +# destructive database changes. +# By default, CiviForm will refuse to apply destructive database changes such as dropping +# tables, columns, and incices when performing a deployment. This can be necessary though +# when rolling back a bad release to mitigate a production incident. +# export DATABASE_APPLY_DESTRUCTIVE_CHANGES=true # Deployment-specific Civiform configuration #################################################