-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: compatibility with ORY Hydra #28415
Comments
It's unsupported? https://www.cockroachlabs.com/docs/stable/alter-column.html |
After inserting the migration manually I tried to do the migration again and it worked:
So it seems that if we can solve this issue it would work. |
I have hydra running for few weeks with cockroachdb. I had to run migration two-three times to get it working. (like described in that issue) But once it failed to start at all. I had to drop database and start from beginning. |
@axife how could be this possible? Hydra executes this ( Can you provide which versions are you using? |
@glerchundi I am not certain may be I was not passing
I think there are high chances that I was debating about alternative migrate routine vs such path. |
Support for ALTER TABLE ALTER COLUMN SET NOT NULL is tracked separately in #28751. |
cc @BramGruneir for triage |
@knz thanks for pushing this, I can confirm that except for the |
Is it possible to associate an ETA to this? It would be really helpful for us. |
The ALTER COLUMN SET TYPE NOT NULL will not come before CockroachDB 2.2, Q2 2019; possibly after. |
Ok, thanks for putting in a timeframe even if it wasn’t accurate.
…On Fri, 7 Sep 2018 at 13:06, kena ***@***.***> wrote:
The ALTER COLUMN SET TYPE NOT NULL will not come before CockroachDB 2.2,
Q2 2019; possibly after.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28415 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACIPlqdYteJ-o6hxlQQBddsKR5lhkbZYks5uYlNSgaJpZM4V2XxB>
.
|
My pleasure! Please be in touch with our product management if you want to influence this schedule. |
@lopezator did a fantastic job contributing to ORY Hydra in order to add direct support for CockroachDB, lets give him a little bit of love. Thanks David! 👏 |
Thank you @glerchundi !! It wouldn't have been possible without your support 👍 |
Is this a bug report or a feature request?
Bug report.
BUG REPORT
Please describe the issue you observed, and any steps we can take to reproduce it:
v2.0.4
Try to use ORY Hydra with CockroachDB as database. When trying to apply the migrations with v1.0.0-beta.7 by doing:
hydra migrate sql postgres://root:@127.0.0.1:26257/hydra?sslmode=disable
it failed in the forth migration which executes these sentences:The first sentence failed due to
sql_safe_updates
was true by default, that can be solved easily. But the next ones failed with this (each one):To work without problems.
Cannot use start using ORY Hydra which is blocker for us.
The text was updated successfully, but these errors were encountered: