Migration not setting DB column to NOT NULL

when I update my schema to set a column to use .notNull().Default("whatever") the migration files don't actually update the DB to alter the column to NOT NULL with a DEFAULT set. We are using the standard generate approach in drizzle-kit. Any ideas what we are doing wrong?
2 Replies
François
François8mo ago
So what you say is that the generated sql is not correct or applying it will not result in the expected column state?
josh_anderson_ftw
josh_anderson_ftwOP8mo ago
correct

Did you find this page helpful?