Schema creating with old scripts
Hima
Posts: 1 New member
in PostgreSQL
When executed flyway migrator with V1 sql scripts ,schema created in Postgres db.After that schema is deleted manually from pg admin and old db V1 scripts are edited .Schema is creating with old V1sql script.How to fix this issue
Tagged:
Answers
Assuming the schema definition isn't in your V1 script, what's most likely occurring is the schema is part of your flyway configuration.
If flyway has schema defined that don't exist, it will attempt to create them as detailed here
https://documentation.red-gate.com/flyway/flyway-cli-and-api/configuration/parameters/environments/schemas
If that doesn't appear to be the case, please can you give a little more detail on the behaviour you're seeing?