-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrations fail for YugabyteDB #2156
Comments
YugaByte is not a supported database. YugaByte does not support dropping foreign keys (similar to CockroachDB) so it is not compatible. There is unfortunately nothing we can do here right now as we do not have capacity to support yet another database! What you could try is use the CRDB migrations instead for YugaByte. |
See also ory/kratos#715, same problem there. We propose possible workarounds in the other issue. |
I see. Writing custom migrations for an unsupported database is the solution then. Closing. |
If you end up writing some, we would be happy to feature them as a related open source project. |
Dropping a primary key is supported now according to yugabyte/yugabyte-db#8735 . Any luck on success? |
Describe the bug
Migrations don't work with PostgreSQL-compatible database YugabyteDB.
Reproducing the bug
Steps to reproduce the behavior:
v1.8.5
.quickstart-yugabyte.yml
:Hydra migrate container logs
Hydra container logs
Expected behavior
Should work the same as with
quickstart-postgres.yml
configuration.Environment
The text was updated successfully, but these errors were encountered: