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
3 Replies
gaurav1998
gaurav19987mo ago
I get the same issue
joshfly
joshfly3mo ago
I just started playing with Drizzle using neon, and got the same issue. Created a few new neon branches on an empty DB and nothing. 0.26.2
joshfly
joshfly3mo ago
GitHub
[BUG]: No changes when trying to apply drizzle-kit push · Issue #17...
What version of drizzle-orm are you using? 0.29.3 What version of drizzle-kit are you using? 0.20.10 Describe the Bug I'm trying to apply migration to the database using drizzle-kit push:pg but...
Want results from more Discord servers?
Add your server