[NEW] add version 19.0 migration files

This commit is contained in:
Stéphan Sainléger
2026-09-22 18:28:06 +02:00
parent e06d750b74
commit 8c732c39e2
5 changed files with 60 additions and 0 deletions

20
versions/19.0/pre_upgrade.sh Executable file
View 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!"