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
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
SBT
What database are you using (type & version)?
AWS Redshift
What operating system are you using?
OS X
What did you do?
In my build.sbt, this is the buggy code: flywaySchemas := Seq("public", "otherSchema")
Which results in this:
[info] Successfully validated 0 migrations (execution time 00:00.125s)
[info] Creating Metadata table: "public"."schema_version"
[info] Current version of schema "public": << Empty Schema >>
[info] Schema "public" is up to date. No migration necessary.
[success] Total time: 2 s, completed Apr 24, 2017 5:37:38 PM
Notice how otherSchema was not created.
However, with this code: flywaySchemas := Seq("schema1", "schema2", "schema3")
We get this:
The text was updated successfully, but these errors were encountered:
samay-kapadia-zocdoc
changed the title
Schemas are not created if the first schema is public [redshift]
Schemas are not created if the first schema is 'public' [redshift]
Apr 24, 2017
What version of Flyway are you using?
4.1.2
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
SBT
What database are you using (type & version)?
AWS Redshift
What operating system are you using?
OS X
What did you do?
In my build.sbt, this is the buggy code:
flywaySchemas := Seq("public", "otherSchema")
Which results in this:
Notice how otherSchema was not created.
However, with this code:
flywaySchemas := Seq("schema1", "schema2", "schema3")
We get this:
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: