Enum failed to apply cleanly to database
I'm having issues creating new migrations for my cockroachdb prisma layout.
I have one migration named
and
I get the error running (
only when running migrations against the shadow db; running
Not sure if this is a regression with how the migration stuff works but it happened between the 5.22.0 -> 6.0.0 update
The migration succeeds in 5.22.0
They're in different files because of some surrounding bits unrelated to that specific piece of the migration; however this migration setup itself should work.
The initial table in the init migration looks like this which is timestamped before the prior 2:
this is my prisma schema config:
Looking forward for any help, I can make a github issue with this outlined as well, I didn't notice anything similar
I have one migration named
20240119154759_tag_naming_update_grant_redef with the contents:and
20240129071034_split_renaming_migrations with the contents:I get the error running (
npx prisma migrate dev --name unrelated_migration --create-only --schema prisma/cockroach/cockroach.prisma):only when running migrations against the shadow db; running
npx prisma migrate reset fully applies correctlyNot sure if this is a regression with how the migration stuff works but it happened between the 5.22.0 -> 6.0.0 update
The migration succeeds in 5.22.0
They're in different files because of some surrounding bits unrelated to that specific piece of the migration; however this migration setup itself should work.
The initial table in the init migration looks like this which is timestamped before the prior 2:
this is my prisma schema config:
Looking forward for any help, I can make a github issue with this outlined as well, I didn't notice anything similar