Multiple primary keys error
Hey, im having problem with migration, got this error: [⣟] applying migrations...error: multiple primary keys for table "workShopRates" are not allowed
Even tho i dont have multiple primary keys.
Here is my schema
7 Replies
👋 Hey, looks like a bug. Did you had an other primaryKey on
workShopRates
before?Hey, nope i didnt
I just wanted to rename "value" to "id" in manufacturers table
Hum. Does drizzle kit asked you about a choice? (create or rename)
Something like that
yes, I chose rename
and then i had this error that i described above
:/ looks like a bug. Can you report it at https://github.com/drizzle-team/drizzle-kit-mirror ?
cc @Andrew Sherman I can't reproduce this one in drizzle.run but I can reproduce an other one where you already have a PK and try to rename / change for an other column
would be really helpful to have a GH issues, so we can work on it