Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If the SQL file in question is not formatted as such, Flyway will not pick up the file to run.

Contributing

DMC has two distinct Flyway migrations

  • Core - Any core functionality or data needed needed for the application to run.
  • Data - Any test data that would be loaded.

In our SQL directory we have a core and data sub directory; please put your migrations in the appropriate place.

In order to run core or data, you will need to point to the appropriate flyway.conf file.

For example standing up a brand new DB with test data you would run the following:


  1. ./flyway clean migrate info -configFile=conf/core/flyway.conf

  2. ./flyway migrate info -configFile=conf/data/flyway.conf