Migrations - Anniegavr/Collab-Buddy GitHub Wiki

This projects uses Liquibase for migrations, which is configured in the following file: liquibase.properties

All migrations of this app can be found in the following folder: changelog

The "init" folder contains the migrations meant to be applied at the very first start of the application.These initialization migrations are mentioned in the db.changelog-master.xml file: db.changelog-master.xml

The "migrations" folder shall contain any migrations that follow after the base database structure is applied. Whenever a new migration is created and to be applied, its file's name shall be added to the "migrations.xml" file, following the examples I have already provided with CB01.xml and CB02.xml:

<include file="./CB-02.xml" relativeToChangelogFile="true"/>

If a migration shouldn't be applied to the DB, the file's name shall be deleted or commented out from the migrations.xml file.