DB Specific Database Migrations
Opened this issue · 1 comments
johnament commented
- Clearly mark the DB migrations as mysql/mariadb
- Placeholder for other DB types
Perhaps add tests that verify the execution runs correctly.
barryoneill commented
Looks like most the work has been done for us in spring-boot 1.5:
Vendor specific flyway migrations
You can now define flyway migration that are specific to a database vendor. To use vendor specific migrations, set the flyway.locations property as follows:
flyway.locations=db/migration/{vendor}
I'll be upgrading to 1.5 very shortly so we'll be able to make use of this.