Skip to content
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

Respect foreign keys on CockroachDB change_column #97

Merged
merged 3 commits into from Sep 1, 2020
Merged

Conversation

aeneasr
Copy link
Member

@aeneasr aeneasr commented Aug 30, 2020

This patch resolves issues where CockroachDB would fail to respect foreign keys for changes such as change_column because the meta schema did not collect foreign keys appropriately.

@aeneasr aeneasr requested a review from a team as a code owner August 30, 2020 21:20
aeneasr added a commit to ory/kratos that referenced this pull request Aug 31, 2020
Completely refactors the verification flow to support other methods. The original email verification flow now moved to the "link" method also used for recovery.

Additionally, several upstream bugs in gobuffalo/pop and gobuffalo/fizz have been addressed, patched, and merged which improves support for SQLite and CockroachDB migrations:

- gobuffalo/fizz#97
- gobuffalo/fizz#96

BREAKING CHANGE: This patch significantly changes how email verification works. The Verification Flow no longer uses its own system but now re-uses the API and Browser flows and flow methods established in other components such as login, recovery, registration.

Due to the many changes these patch notes does not cover how to upgrade this particular flow. We instead want to kindly ask you to check out the updated documentation for this flow at: https://www.ory.sh/kratos/docs/self-service/flows/verify-email-account-activation

This patch changes the SQL schema and thus requires running the SQL Migration command (e.g. `... migrate sql`).
Never apply SQL migrations without backing up your database prior.
@stanislas-m stanislas-m merged commit eec5de9 into master Sep 1, 2020
@stanislas-m stanislas-m deleted the more-fixes branch September 1, 2020 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants