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

Fix callback if migrations fails #1502

Merged
merged 1 commit into from
Nov 6, 2021
Merged

Conversation

thooams
Copy link
Contributor

@thooams thooams commented Sep 2, 2021

To prevent failed migration, when you insert this gem in existing project and you want to run:

rake db:create && rake db:migrate

Migrations fail because of uid and provider attributes that do not exist yet in the first migrations (past migrations).

Copy link
Collaborator

@MaicolBen MaicolBen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain your change?

@thooams
Copy link
Contributor Author

thooams commented Sep 16, 2021

Can you explain your change?
I edited my first comment.

@thooams
Copy link
Contributor Author

thooams commented Oct 18, 2021

Someone wants to merge this PR ?

@thooams thooams requested a review from MaicolBen November 4, 2021 16:03
Copy link
Collaborator

@MaicolBen MaicolBen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thooams Thanks, sorry for the delay, it's weird handling this case but it makes sense

@MaicolBen MaicolBen merged commit 2fed895 into lynndylanhurley:master Nov 6, 2021
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.

2 participants