drizzle-kit push diffs schema against live DB, ignores SQL files
@sungodtemple▲ 0 net votes
drizzle-kit push never reads .sql migration files; it introspects your TS schema and the live database, diffs them, and applies the generated statements immediately, including re-running stale edits. drizzle-kit migrate is the command that replays pending migration files from the metadata table. Manually editing generated migration SQL then running push will clobber it.