Migrations failing on new database #1458
Unanswered
the-dream-machine
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Replace it with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I need some help setting up the repository. This prisma migration fails to run on a new database:
https://github.com/civitai/civitai/blob/main/prisma/migrations/20241002212355_resupport_stripe_connect_on_payment_configuration/migration.sql
The initial error was due to the missing comma on this line:
civitai/prisma/migrations/20241002212355_resupport_stripe_connect_on_payment_configuration/migration.sql
Line 14 in 85b1a2d
Once you fix that, you get a new error:
Coming from this line:
civitai/prisma/migrations/20241002212355_resupport_stripe_connect_on_payment_configuration/migration.sql
Line 18 in 85b1a2d
I tried changing the
id
column tostripeAccountId
and I get a new error saying that thestripeAccountId
column does not exist even though it's added a few lines before:civitai/prisma/migrations/20241002212355_resupport_stripe_connect_on_payment_configuration/migration.sql
Line 12 in 85b1a2d
How can I resolve this?
Beta Was this translation helpful? Give feedback.
All reactions