I changed the schema to remove .notNull() from 2 columns on a table (varchar and integer) but no changes are detected.
Even adding .notNull() to the columns in my schema then running drizzle-kit generate detects no changes. It's like null constraints are now skipped when generating migrations. It was working in the previous version of drizzle-kit, broke after upgrading drizzle-kit to v0.21.2.
I changed the schema to remove
.notNull()
from 2 columns on a table (varchar
andinteger
) but no changes are detected.Even adding
.notNull()
to the columns in my schema then runningdrizzle-kit generate
detects no changes. It's like null constraints are now skipped when generating migrations. It was working in the previous version of drizzle-kit, broke after upgrading drizzle-kit tov0.21.2
.