1
0
mirror of https://github.com/google/nomulus synced 2026-04-09 11:09:24 +00:00

Fix Flyway script (#3003)

Removing the obsolete command line argument `community`.
This commit is contained in:
Weimin Yu
2026-04-07 20:40:04 +00:00
committed by GitHub
parent 1876e2c3e8
commit 7be5fe4c01

View File

@@ -78,7 +78,7 @@ if ! pgrep cloud_sql_proxy; then
exit 1
fi
/flyway/flyway -postgresql.transactional.lock=false -community \
/flyway/flyway -postgresql.transactional.lock=false \
-user=${db_user} -password=${db_password} \
-url=jdbc:postgresql://localhost:5432/postgres \
-locations=classpath:sql/flyway \
@@ -87,7 +87,7 @@ migration_result=$?
if [ ${flyway_action} == "migrate" ]; then
# After deployment, log the current schema.
/flyway/flyway -community -user=${db_user} -password=${db_password} \
/flyway/flyway -user=${db_user} -password=${db_password} \
-url=jdbc:postgresql://localhost:5432/postgres \
-locations=classpath:sql/flyway \
info