I made a change, yet generate says "No schema changes, nothing to migrate"

i added a column to a table

balance: integer("balance")

and drizzle-kit generate:pg generated the correct migration:

ALTER TABLE "mytable" ADD COLUMN "balance" integer;

then i went and backfilled in the values into the mytable since i really wanted it to be notNull().

then I came back and added .notNull():

balance: integer("balance").notNull()

when I rerun drizzle-kit generate:pg it says "No schema changes, nothing to migrate"

is this a bug?

drizzle-kit 0.21.2
Was this page helpful?