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

change t.integer to t.bigint where applicable #35888

Merged
merged 1 commit into from
Apr 8, 2019
Merged

change t.integer to t.bigint where applicable #35888

merged 1 commit into from
Apr 8, 2019

Conversation

lxxxvi
Copy link
Contributor

@lxxxvi lxxxvi commented Apr 7, 2019

Summary

I noticed that in the association basics documentation some migration examples used t.integer instead of t.bigint.

This PR changes the datatype for all foreign keys examples.

Additionally, for the affected examples I increased migration version from ActiveRecord::Migration[5.0] to ActiveRecord::Migration[5.2].
I am not sure if this is the right value/approach, since the bigint-thing has been introduced in 5.1 (PR #26266), right?

Any opinion?

@rails-bot rails-bot bot added the docs label Apr 7, 2019
@eileencodes eileencodes merged commit 61073e3 into rails:master Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants