Skip to content

Commit

Permalink
Deepthi M| BAH-3932-fix|Updated the script with new versions of liqui…
Browse files Browse the repository at this point in the history
…base and postgres
  • Loading branch information
deepthi-mantena committed Jun 13, 2024
1 parent a23b24b commit 69012b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/docker/scripts/run-liquibase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
set -e -x

CHANGE_LOG_TABLE="-Dliquibase.databaseChangeLogTableName=liquibasechangelog -Dliquibase.databaseChangeLogLockTableName=liquibasechangeloglock"
LIQUIBASE_JAR="${WAR_DIRECTORY}/WEB-INF/lib/liquibase-core-3.3.2.jar"
LIQUIBASE_JAR="${WAR_DIRECTORY}/WEB-INF/lib/liquibase-core-4.28.0.jar"
DRIVER="org.postgresql.Driver"
CREDS="--url=jdbc:postgresql://$ODOO_DB_SERVER:5432/odoo --username=$ODOO_DB_USERNAME --password=$ODOO_DB_PASSWORD"
CLASSPATH="${WAR_DIRECTORY}/WEB-INF/lib/postgresql-42.6.0.jar"
CLASSPATH="${WAR_DIRECTORY}/WEB-INF/lib/postgresql-42.6.1.jar"
CHANGE_LOG_FILE="${WAR_DIRECTORY}/WEB-INF/classes/sql/db_migrations.xml"

java $CHANGE_LOG_TABLE -jar $LIQUIBASE_JAR --driver=$DRIVER --classpath=$CLASSPATH --changeLogFile=$CHANGE_LOG_FILE $CREDS update

0 comments on commit 69012b3

Please sign in to comment.