]> cat aescling's git repositories - mastodon.git/commit
Change identities id column to a bigint (#9371)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 27 Nov 2018 12:56:25 +0000 (13:56 +0100)
committerGitHub <noreply@github.com>
Tue, 27 Nov 2018 12:56:25 +0000 (13:56 +0100)
commit4afda5444a3cc864cb0f9a4f59493022d8a5e080
treecd11982276089a98eb7f3558716ed16c4f774572
parent2ba5d63a052300f4f81658eb5f582eed0c6ad6e4
Change identities id column to a bigint (#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
app/models/identity.rb
db/migrate/20181127130500_identity_id_to_bigint.rb [new file with mode: 0644]
db/schema.rb