atri
atri
Explore posts from servers
DTDrizzle Team
Created by atri on 1/1/2025 in #help
[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.
3 replies
DTDrizzle Team
Created by atri on 12/30/2024 in #help
Need guidance - Migration dropping existing tables
I merged the migrations from other developer: Then I created a model named as 'C': But when I tried to generate migration for it: This migration got generated: DROP TABLE "A" CASCADE;--> statement-breakpoint DROP TABLE "B" CASCADE; and these 2 tables (A & B) were added by other developer. C model was added by me.
1 replies
DTDrizzle Team
Created by atri on 11/26/2024 in #help
How to fix collision / race condition
Hey there. I am working on a project with another team member. We are using Drizzle ORM. I merged the code of my team mate to my branch and when I trying to generate a new migration, I am getting this error: [src\database\migrations\meta\20241122205314_snapshot.json, src\database\migrations\meta\20241125185203_snapshot.json] are pointing to a parent snapshot: src\database\migrations\meta\20241122205314_snapshot.json/snapshot.json which is a collision. I searched the internet but not able to find any solution for it. Can anyone from Drizzle team help me resolve this issue. I am using "drizzle-orm": "^0.36.1"
8 replies
RRefine
Created by environmental-rose on 8/3/2023 in #ask-any-question
Start refine dashboard nextjs application in watch mode
Hey there! Can someone guide me that how can I start my refine dashboard in watch. So whenever I make changes in code, I don't have restart my app.
5 replies