Skip to content

Commit 39f4806

Browse files
sample flyway command as simple as possible
1 parent 563a370 commit 39f4806

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
flyway -environment=target -environments.target.schemas="$(schemas)" -environments.check.schemas="$(schemas)"
2+
-baselineOnMigrate=true -errorOverrides=S0001:0:I- -baselineVersion=$(BASELINE_VERSION) -email="$(FLYWAY_EMAIL)" -token="$(FLYWAY_TOKEN)"
3+
-workingDirectory="$(WORKING_DIRECTORY)" -locations="filesystem:$(WORKING_DIRECTORY)\$(Build.Repository.Name)\migrations" -configFiles="$(WORKING_DIRECTORY)\$(Build.Repository.Name)\flyway.toml"
4+
info migrate -outOfOrder=true info -environments.target.url="$(target_database_JDBC)"
5+
6+
flyway -environment=target migrate -environments.target.url="$(target_database_JDBC)"

0 commit comments

Comments
 (0)