Understanding what's colliding at db-push (Warning: Found data-loss statements)
I'm trying to push some schema changes to my dev environment schema and I'm running into an issue where I've already changed the type of a column, and it's already applied to the database, but this issue keeps coming up.
However, this is the column SQL already applied to the database
And this is the table where it is used
It all seems perfectly fine... I don't see where the issue is.
If I drop the column, then re-apply the changes to the database, Drizzle CLI does not complain.
How can I debug this?
characterType is a Postgres enum I've declared in my Drizzle schema. I'm not sure what charType is referring to, is that a Postgres data type?However, this is the column SQL already applied to the database
And this is the table where it is used
It all seems perfectly fine... I don't see where the issue is.
If I drop the column, then re-apply the changes to the database, Drizzle CLI does not complain.
How can I debug this?