From 65a483273e71c9e1933089dc491031d7e448c8e8 Mon Sep 17 00:00:00 2001 From: digimer Date: Wed, 4 Jan 2023 11:54:23 -0500 Subject: [PATCH] * Updated anvil-version-changes to connect to the database with 'sensitive' so that the connection is unlikely to fail if schema changes are needed for normal operation. Signed-off-by: digimer --- tools/anvil-version-changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/anvil-version-changes b/tools/anvil-version-changes index 71a4def6..786f74d7 100755 --- a/tools/anvil-version-changes +++ b/tools/anvil-version-changes @@ -25,7 +25,7 @@ $anvil->Get->switches({list => [ ]}); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => $anvil->data->{switches}}); -$anvil->Database->connect(); +$anvil->Database->connect({sensitive => 1}); $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 2, secure => 0, key => "log_0132" }); if (not $anvil->data->{sys}{database}{connections}) {