nadim7128
nadim7128
DTDrizzle Team
Created by nadim7128 on 1/3/2024 in #help
undo schema migration!
I recently started using turso and drizzle, I sometimes make schema mistakes, such as "'SQLite error: Cannot add a NOT NULL column with default value NULL'", I generate the schema, with npm run generate, but when I run npm run migrate I get the error. is there a way to delete the last file that drizzle generates when I run, npm run generate? My current solution is going into my migration's folder and deleting the last generated files, any advice or recommendations are greatly appreciated!
4 replies