mrnicericee
Explore posts from serversDTDrizzle Team
•Created by mrnicericee on 9/18/2023 in #help
Dropping mysql unique errors
Hello!
I saw there were already an issue created for it
https://github.com/drizzle-team/drizzle-orm/issues/998
database: mysql
package: drizzle-kit
my own error message
I realized that the SQL query for dropping a
UNIQUE
the CONSTRAINT
should be changed to INDEX
I ran the the above query in planetscale's console, and it successfully dropped the UNIQUE CONSTRAINT
and then ran db:push
and it successfully made the changes 🙂
I tried looking (but i am dumb) to see where the query for the drizzle-kit
DROP
statement would be built but I could not find anything 😦 would love to make a PR on this if possible 🙂2 replies