enum label already exists
Running
drizzle-kit push
in the latest version gives me this strange error:
I didnt change any enum with that label. Why the hell is drizzle-kit trying to add an enum label that already exists?1 Reply
Hi, I got this error as well.
I managed to get past it by changing my column to text (values did not change and table did not get truncated).
Then I deleted the enum an created it again with the same values in the same order, after which I went in and changed the type of my column to the enum again (values did not change again, table stayed in tact)
And it worked! I was using the supabase UI to do these operations, but I guess normal SQL query would do the same. Don't know what miracle causes this but here you go.