louisthomas
5/15/2018 - 12:54 PM

Flyway locations example

Spring boot flyway example

Under resources, create common and specific folder. Add your migration scripts.

Common: V0001_01__init.sql, V0001_03__add_stuff.sql specific: V0001_02__data.sql

flyway:
  schemas: your_schema
  table: your_table
  locations: common,specific
  validateOnMigrate: true