drizzle-kit push
Hey, we are using drizzle-kit push command to handle our migrations. It worked well. Until yesterday, when we ended up having multiple versions of the same code and database on my machine, my co-worker's machine, and prod (it is a single database).
Yesterday night, when we went for deployment, the dev version (localhost) was working well with no problems. But, when we deployed it, we got schema errors and somehow, it feels like the entire code has been hijacked. I can think of only 2 reasons. One is drizzle-kit push and another one is, this branch has been long-running, so somehow it got corrupted.
So, on the drizzle-kit part, shall i use generate and migrate from now? Or is there any other solution?
1 Reply
And, if we run generate and migrate, it feels like the database has been stuck in the past i.e., there's a mismatch