[NEW] add migration scripts for Odoo 17.0

This commit is contained in:
Stéphan Sainléger
2025-09-11 10:39:37 +02:00
parent f432b4c75e
commit 385b9bc751
3 changed files with 24 additions and 0 deletions

16
17.0/pre_upgrade.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
echo "Prepare migration to 17.0..."
# Copy database
copy_database ou16 ou17 ou17 || exit 1
# Execute SQL pre-migration commands
PRE_MIGRATE_SQL=""
echo "SQL command = $PRE_MIGRATE_SQL"
query_postgres_container "$PRE_MIGRATE_SQL" ou17 || exit 1
# Copy filestores
copy_filestore ou16 ou16 ou17 ou17 || exit 1
echo "Ready for migration to 17.0!"