You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to keep my migrations in conf/schema/sql rather than in conf/db/migrations (because I also have a conf/schema/json and I want them to be parallel). Can I accomplish this with flyway-play as it stands today?
2018-08-16 16:26:02 -0400 [WARN] from org.flywaydb.core.internal.util.scanner.classpath.ClassPathScanner in ForkJoinPool-1-worker-1 - Unable to resolve location classpath:db/migration/data//////////schema/sql
2018-08-16 16:26:02 -0400 [INFO] from org.flywaydb.core.internal.command.DbSchemas in ForkJoinPool-1-worker-1 - Creating schema "myschema" ...
2018-08-16 16:26:02 -0400 [INFO] from org.flywaydb.core.internal.metadatatable.MetaDataTableImpl in ForkJoinPool-1-worker-1 - Creating Metadata table: "myschema"."schema_version"
2018-08-16 16:26:02 -0400 [INFO] from org.flywaydb.core.internal.command.DbMigrate in ForkJoinPool-1-worker-1 - Current version of schema "myschema": null
2018-08-16 16:26:02 -0400 [INFO] from org.flywaydb.core.internal.command.DbMigrate in ForkJoinPool-1-worker-1 - Schema "myschema" is up to date. No migration necessary.
My hunch is that this would require some changes to flyway-play but I figured I would pose the question!
The text was updated successfully, but these errors were encountered:
On a related note: The description on the start page seems to indicate that you can either supply a scriptsDirectory or locations, when in reality, the locations can be combined with the locations. Hence, if I want to have multiple databases that have the same structure and use the same pool of migrations, I can do the following:
Create db.migration.default.common for all migrations
Create db.migration.default.testdata for testing purposes
Configure the migrations so that they use both, the scripts directory and the locations parameter
Greetings!☺️
I would like to keep my migrations in
conf/schema/sql
rather than inconf/db/migrations
(because I also have aconf/schema/json
and I want them to be parallel). Can I accomplish this withflyway-play
as it stands today?My best attempt so far is this config:
Which gives me this log output:
My hunch is that this would require some changes to
flyway-play
but I figured I would pose the question!The text was updated successfully, but these errors were encountered: