How to change schema without losing data?
I want to change my schema & add a new field
hidden: boolean("hidden").notNull().default(false),
My current schema looks like:
Now whenever I edit my schema the data from my supabase(postgres) database gets deleted. How can I change the schema while also preserving all the rows in my database??1 Reply
Umm... does anyone know.. I kinda need a little help? 😅
I just realized that I should be reading the alter table sql commands spit out by drizzle...
SOLVED