[NEW] add version 19.0 migration files
This commit is contained in:
20
versions/19.0/pre_upgrade.sh
Executable file
20
versions/19.0/pre_upgrade.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
echo "Prepare migration to 19.0..."
|
||||
|
||||
# Copy database
|
||||
copy_database ou18 ou19 ou19 || exit 1
|
||||
|
||||
|
||||
# Execute SQL pre-migration commands
|
||||
PRE_MIGRATE_SQL=$(cat <<'EOF'
|
||||
EOF
|
||||
)
|
||||
echo "SQL command = $PRE_MIGRATE_SQL"
|
||||
query_postgres_container "$PRE_MIGRATE_SQL" ou19 || exit 1
|
||||
|
||||
# Copy filestores
|
||||
copy_filestore ou18 ou18 ou19 ou19 || exit 1
|
||||
|
||||
echo "Ready for migration to 19.0!"
|
||||
Reference in New Issue
Block a user