[FIX] correct undefined variable FINALE_DB_MODEL_NAME
Replace $FINALE_DB_MODEL_NAME with $FINALE_DB_NAME in the call to prepare_db.sh. FINALE_DB_MODEL_NAME was never defined anywhere in the codebase, causing the script to fail immediately with 'set -u' (unbound variable error). The intended variable is FINALE_DB_NAME which contains the target database name (e.g., 'ou16').
This commit is contained in:
@@ -117,7 +117,7 @@ log_info "Migration path is ${versions[*]}"
|
||||
|
||||
log_step "DATABASE PREPARATION"
|
||||
|
||||
./prepare_db.sh "$COPY_DB_NAME" "$COPY_DB_NAME" "$FINALE_DB_MODEL_NAME" "$FINALE_SERVICE_NAME"
|
||||
./prepare_db.sh "$COPY_DB_NAME" "$COPY_DB_NAME" "$FINALE_DB_NAME" "$FINALE_SERVICE_NAME"
|
||||
|
||||
|
||||
log_step "UPGRADE PROCESS"
|
||||
|
||||
Reference in New Issue
Block a user