SQL within a single migration is generated out of order
Case 1:
I have two tables
When I delete both of them from my schema.js
the migration that is created is
They are out of order.
Case 2
Generated sql migration
This is soo out of order.
new column should be created before adding it as FK.
old fk need to dropped before dropping pk, and should be recreated after the new old pk is dropped.
Can anyone take a look at this??
v:
0 Replies