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.
0 Replies