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 inconsistent use of integer and bigInteger on MariaDB 10.3 #509

Merged
merged 1 commit into from
Jan 27, 2020

Conversation

antonioribeiro
Copy link
Member

Changes to support bigInteger wasn't done in full. It may be working for some database servers, but MariaDB 10.3 is not accepting to have a bigInteger increments column being referenced as integer on foreign keys.

To make it a little less verbose and easier to add on new migrations, I also created two new helper functions: twillIncrementsMethod() and twillIntegerMethod().

This is a broader fix than #502.

@ifox ifox merged commit c36252d into area17:master Jan 27, 2020
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