Dropping unique constraint cant push to db
I have this key here
nftCollectionIdKey: unique("Pool_nftCollectionId_key").on(
table.nftCollectionAddress
),
This is the only place the key appears and my database is blank. I should be able to drop the unique constraint right?
Im getting this error:
'Pool_nftCollectionId_key' is not found in the table. (errno 3821) (sqlstate HY000) (CallerID: ####): Sql: "alter table Pool drop check Pool_nftCollectionId_key", BindVars: {REDACTED}`
When I add the key back and push it works.1 Reply
(planetscale)