citizenos / citizenos-api

Citizen OS API application - https://api.citizenos.com/
Other
31 stars 8 forks source link

Database SQL not updated after new migration? #121

Closed moll closed 5 years ago

moll commented 5 years ago

Something seems off. https://github.com/citizenos/citizenos-api/blob/master/db/config/database.sql lists a single migration at the end of the file, yet https://github.com/citizenos/citizenos-api/tree/master/db/migrations lists two migrations.

Did someone forget to update the .sql file when adding a migration?

tiblu commented 5 years ago

@moll Thanks, updated!

tiblu commented 5 years ago

Also, to throw it out here, we have Wiki on how DB migrations work and developers should dev/test - https://github.com/citizenos/citizenos-api/wiki/DB-Migrations All contributions welcome!