ER_TABLE_EXISTS_ERROR

Can someone explain me what is the proper workflow? 1. change schema.ts (add another column to table) 2. generate migration 3. migrate ER_TABLE_EXISTS_ERROR Why? I'm using drizzle with planetscale
4 Replies
Angelelz
Angelelz14mo ago
I believe you dont use migrations in planetscale they have a branching system, right? You can just push
kstulgys
kstulgysOP14mo ago
yes, thank you for confirmation
Elv
Elv13mo ago
Sorry to dig up this thread, but what about if you are using regular mysql ? I have the exact same issue
Angelelz
Angelelz13mo ago
There are so many edge cases, you might have some issues with the migrations especially if you're making changes to your tables. I'd suggest opening opening the migration file and edit it as needed.
Want results from more Discord servers?
Add your server