prime
prime copied to clipboard
Question: How do you make migrations / sync structure between live / dev ?
Do you have a best practice for updating/syncing changes from a local database with the production environment? Is there a way to generate migrations?
We are using TypeORM under the hood, which has all the necessary tools to run the database migrations.
They run automatically on server start as we have syncronize: true.
https://github.com/typeorm/typeorm/blob/master/docs/migrations.md