drizzle-orm
drizzle-orm copied to clipboard
[BUG]: drizzle-kit generate not detecting schema changes
What version of drizzle-orm are you using?
0.30.10
What version of drizzle-kit are you using?
0.21.2
Describe the Bug
create a new nullable column (because I have to migrate data later), then after migrating my data I add the notNull() constraint to my field but when running npx drizzle-kit generate it's saying that there aren't any pending changes
Expected behavior
create a new migration file adding the not null constraint to the existent column
Environment & setup
I'm using sqlite with turso
looking into the issues it seems this is a duplicate of #2336
This should be fixed in [email protected]. If the issue persists, feel free to reopen it!
Confirmed upgrading to 0.21.3 fixed this issue for us. Thank you @AndriiSherman