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 identities id column to a bigint #9371

Merged
merged 4 commits into from Nov 27, 2018

Conversation

Projects
None yet
2 participants
@Gargron
Copy link
Member

Gargron commented Nov 27, 2018

Fix #8775
Resolve #8175

aschmitz and others added some commits Aug 12, 2018

fix: change Identity's id column to a bigint
This appears to be the last model created using a 5.0 migration,
where column types defaulted to `integer` rather than `bigint`.

This migration changes the column type to match that of all of the
other ID columns.
Merge branch 'fix/identity-id-bigint' of git://github.com/aschmitz/ma…
…stodon into aschmitz-fix/identity-id-bigint

@Gargron Gargron added the bug label Nov 27, 2018

@Gargron Gargron merged commit 4afda54 into master Nov 27, 2018

11 checks passed

ci/circleci: build Your tests passed on CircleCI!
Details
ci/circleci: check-i18n Your tests passed on CircleCI!
Details
ci/circleci: install Your tests passed on CircleCI!
Details
ci/circleci: install-ruby2.3 Your tests passed on CircleCI!
Details
ci/circleci: install-ruby2.4 Your tests passed on CircleCI!
Details
ci/circleci: install-ruby2.5 Your tests passed on CircleCI!
Details
ci/circleci: test-ruby2.3 Your tests passed on CircleCI!
Details
ci/circleci: test-ruby2.4 Your tests passed on CircleCI!
Details
ci/circleci: test-ruby2.5 Your tests passed on CircleCI!
Details
ci/circleci: test-webui Your tests passed on CircleCI!
Details
codeclimate All good!
Details

@Gargron Gargron deleted the aschmitz-fix/identity-id-bigint branch Nov 27, 2018

mayaeh added a commit to mayaeh/mastodon that referenced this pull request Dec 1, 2018

Change identities id column to a bigint (tootsuite#9371)
* fix: change Identity's id column to a bigint

This appears to be the last model created using a 5.0 migration,
where column types defaulted to `integer` rather than `bigint`.

This migration changes the column type to match that of all of the
other ID columns.

* Change user_id column in identities to bigint and fix down-migration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment