© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•14mo ago
atri

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.
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to Apply Schema Changes Without Dropping Existing Tables in Drizzle ORM?
Drizzle TeamDTDrizzle Team / help
8mo ago
Migration and existing policy issues
Drizzle TeamDTDrizzle Team / help
2y ago
Can't push without dropping tables on turso
Drizzle TeamDTDrizzle Team / help
17mo ago
How to consume existing supabase migration?
Drizzle TeamDTDrizzle Team / help
3y ago