Duplicate statements after adding .unique()
Starting from a schema that is entirely synced, I add one
This will throw
Now that the key exists, on subsequent calls (without changing anything) it will try to remove it and add it again!
I am using
Any support would be greatly appreciated!
Thank you.
.unique() constraint on one of my columns, then run drizzle-kit push and I get the followingThis will throw
InvalidArgument desc = Duplicate key name 'MailingList_email_unique' (errno 1061) (sqlstate 42000) when trying to execute the second statement, but it will at least add it.Now that the key exists, on subsequent calls (without changing anything) it will try to remove it and add it again!
I am using
"drizzle-kit": "^0.21.1"and "drizzle-orm": "^0.30.10" and PlanetScale (MySQL).Any support would be greatly appreciated!
Thank you.