[SOLVED] - How to prevent columns from dropping - after merging fellow developer changes?

My fellow developer added some new columns in existing tables. I merged his code to my branch. Then I added a new table. But when I tried to generate migration, that migration drops all the changes made by fellow developer. What is the solution for this situation in drizzle orm. I am using drizzle with NestJS.
1 Reply
atri
atriOP3w ago
Solved. npm run build solved it. I created new build and tried creating migration again. Then it didn't dropped the columns etc.

Did you find this page helpful?