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?
1 Reply
François
François3d ago
So what you say is that the generated sql is not correct or applying it will not result in the expected column state?

Did you find this page helpful?