Skip to content
Snippets Groups Projects
Commit 1c35ddcc authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: remove passwords table if it exists

parent 43bd98aa
Branches
Tags
3 merge requests!19Release 6.0.1,!18Fix Restore,!11DRAFT: file system cleanup
Pipeline #42430 passed with warnings
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
NEW_VERSION="v6.0.0-SNAPSHOT-EXTIDS" NEW_VERSION="v6.0.0-SNAPSHOT-EXTIDS"
OLD_VERSION="v5.0.0" OLD_VERSION="v5.0.0"
DROP_TABLE_PASSWORDS='DROP TABLE IF EXISTS passwords;'
if [ -z "$UTILSPATH" ]; then if [ -z "$UTILSPATH" ]; then
UTILSPATH="../utils" UTILSPATH="../utils"
fi fi
...@@ -33,9 +35,11 @@ fi ...@@ -33,9 +35,11 @@ fi
check_version $OLD_VERSION check_version $OLD_VERSION
mysql_execute "$DROP_TABLE_PASSWORDS"
mysql_execute_file $PATCH_DIR/create_entity_ids_table.sql mysql_execute_file $PATCH_DIR/create_entity_ids_table.sql
update_version $NEW_VERSION update_version $NEW_VERSION
success success
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment