Open 0xMALVEE opened 1 month ago
drizzle-orm
^0.30.6
drizzle-kit
^0.20.14
commands in wrong order. It's trying to run ALTER TABLE stores ADD CONSTRAINT stores_SubDomain_unique UNIQUE(SubDomain); before creating the column! major bug
stores
stores_SubDomain_unique
SubDomain
commands should be in right order.
No response
What version of
drizzle-orm
are you using?^0.30.6
What version of
drizzle-kit
are you using?^0.20.14
Describe the Bug
commands in wrong order. It's trying to run ALTER TABLE![image](https://github.com/drizzle-team/drizzle-orm/assets/35369563/d3f93599-4ff0-429e-a92b-eb7ce2f4dde2)
stores
ADD CONSTRAINTstores_SubDomain_unique
UNIQUE(SubDomain
); before creating the column! major bugExpected behavior
commands should be in right order.
Environment & setup
No response