# Working with migrations

1. `make migration/add MSG="short description"` - generate new migration file
2. add nesessary sql statements in new file
   (do not forget about rollback)
3. bump version in [VERSION](./liquibase/VERSION)
4. run `make docker/image/build`
5. run `make docker/pg/start` - create docker test environment
6. run `make docker/pg/migrate` - to check newly created migration
7. run `make docker/pg/rollback` - to check rollback newly created migration
8. run `make docker/clean` - cleanup docker test environment
