Web application with a collection of tools helping people organising community events such as multi-days conference with reminders, CRM and such
GNU General Public License v3.0
21
stars
22
forks
source link
Add CI test to check whether migrations are up to date #160
Closed
alcalyn closed 5 years ago
PR information
Description
Database schema is not synced with entities mapping.
This is because there is some options missing in migrations like nullable, missing indexes...
So This PR adds a new script in CI to check if after running migrations, schema is sync with entities mapping.
If the job fails, it displays the following result:
To test it
make check_migrations_updated
, it should display nothing if ok, or display error if not.