What's the best way to push schema updates to production? #4833
-
I use drizzle with supabase and Next.js 15 all deployed on Vercel... It has been over a year since I have touched my DB so I kind of forgot the best way to push changes to my production DB as I have done everything locally. I vaguely remember updating my Is that still the only way of getting my changes to my prod DB? I have a PR open and tried to view the preview but things failed due to the DB not being updated (obviously)... I just want to make sure I do things properly. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Just use migrate before production startup |
Beta Was this translation helpful? Give feedback.
Looks like the solution is to add
drizzle-kit migrate
to the build command.