mirror of
https://github.com/google/nomulus.git
synced 2025-07-24 03:30:46 +02:00
Update the release tool and add IF NOT EXISTS
This commit is contained in:
parent
efedd209de
commit
c77af7c319
2 changed files with 5 additions and 2 deletions
|
@ -12,5 +12,5 @@
|
||||||
-- See the License for the specific language governing permissions and
|
-- See the License for the specific language governing permissions and
|
||||||
-- limitations under the License.
|
-- limitations under the License.
|
||||||
|
|
||||||
CREATE INDEX CONCURRENTLY IDX69qun5kxt3eux5igrxrqcycv0 ON "DomainHistoryHost" (domain_history_domain_repo_id);
|
CREATE INDEX CONCURRENTLY IF NOT EXISTS IDX69qun5kxt3eux5igrxrqcycv0 ON "DomainHistoryHost" (domain_history_domain_repo_id);
|
||||||
CREATE INDEX CONCURRENTLY IDXf2q9dqj899h1q8lah5y719nxd ON "PollMessage" (domain_repo_id);
|
CREATE INDEX CONCURRENTLY IF NOT EXISTS IDXf2q9dqj899h1q8lah5y719nxd ON "PollMessage" (domain_repo_id);
|
||||||
|
|
|
@ -78,6 +78,9 @@ if ! pgrep cloud_sql_proxy; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set the transactional lock to false, session-level lock will be used instead
|
||||||
|
/flyway/flyway -postgresql.transactional.lock=false info
|
||||||
|
|
||||||
/flyway/flyway -community -user=${db_user} -password=${db_password} \
|
/flyway/flyway -community -user=${db_user} -password=${db_password} \
|
||||||
-url=jdbc:postgresql://localhost:5432/postgres \
|
-url=jdbc:postgresql://localhost:5432/postgres \
|
||||||
-locations=classpath:sql/flyway \
|
-locations=classpath:sql/flyway \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue