Liquibase has proven to be more difficult than expected. We want to make the devloper experience when changing the database schema as seamless as possible.
Description
This PR changes the following:
Enhance db:changelog:diff to better reflect the process required for a successful changelog generation
make sure the database is cleanly restarted before using Liquibase
current postgres-data is temporily renamed to postgres-data-temp to avoid data loss in the process
Remove rimraf in favor of shx
Testing Instructions
Run npm run db:changelog:diff and check for an error-free execution
Checklist
General
[x] PR title is clear and descriptive
[x] PR description explains the purpose and changes
Motivation
Liquibase has proven to be more difficult than expected. We want to make the devloper experience when changing the database schema as seamless as possible.
Description
This PR changes the following:
db:changelog:diff
to better reflect the process required for a successful changelog generationpostgres-data
is temporily renamed topostgres-data-temp
to avoid data loss in the processrimraf
in favor ofshx
Testing Instructions
npm run db:changelog:diff
and check for an error-free executionChecklist
General