Flyway conditional db migration
问题 I'm trying to use flyway, but I have a scenario that does not know how to resolve: When I apply the STANDARD scripts, I have to run V1.0__create_table_TAB1.sql When I apply the scripts to customer1, the TAB1 table is a view, and so I have to run V1.0__create_view_TAB1_to_schema1.sql. Practically: └── sql ├── sql_common │ ├── V0.0 __.... sql │ └── V1.0__create_table_TAB1.sql ├── sql_customer1 │ └── V1.0__create_view_TAB1_to_schema1.sql └── sql_customer2 └── V1.0__create_view_TAB1_to_schema2