Contains all database migrations for Between Freedom and Space service.
Migrations are easily customizable in changeLog.xml
files.
- Open file gradle.properties.
- Set all properties with your data.
-
databaseUrl=<Url to your Postgres database> databaseUsername=<User name for liquibase service> databasePassword=<Password for user name>
- Create special schema for liquibase tables:
CREATE SCHEMA IF NOT EXISTS liquibase;
- Run file
run.sh
- Enjoy
- Folder migrations contains all scripts
- Folder 000_drop_all_data contains util scripts to manage database.
- Other folders contains migrations scripts.