How do you deal with migrations? on postbuild?
So, usually while developing locally, whenever I change my schema I run:
This first generates the migrations and then applies them to my local db.
Once I deploy in my package.json postbuild script I have:
So if my build runs without issues, it will apply the migrations to my production DB.
Is this correct?
0 Replies