prime icon indicating copy to clipboard operation
prime copied to clipboard

Question: How do you make migrations / sync structure between live / dev ?

Open TomGrie opened this issue 6 years ago • 1 comments

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?

TomGrie avatar May 06 '19 11:05 TomGrie

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

birkir avatar May 09 '19 15:05 birkir