]> cat aescling's git repositories - mastodon.git/commit
Update model annotations to use BIGINT for IDs (#5461)
authorDaniel Hunsaker <danhunsaker@gmail.com>
Sun, 12 Nov 2017 15:18:50 +0000 (08:18 -0700)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 12 Nov 2017 15:18:50 +0000 (16:18 +0100)
commitcf7e8409909e1ea02dff9056133449d6cbd34d72
treed8d77285d0c5413d8b6fa3c9fc30518c2f96c6ac
parent252d0fe020c919bf53a42a96bffbfd342563250a
Update model annotations to use BIGINT for IDs (#5461)

All the migrations have been updated to use BIGINTs for ID fields in the DB, but ActiveRecord needs to be told to treat those values as BIGINT as well. This PR does that.
30 files changed:
app/models/account.rb
app/models/account_domain_block.rb
app/models/account_moderation_note.rb
app/models/block.rb
app/models/conversation.rb
app/models/conversation_mute.rb
app/models/custom_emoji.rb
app/models/domain_block.rb
app/models/email_domain_block.rb
app/models/favourite.rb
app/models/follow.rb
app/models/follow_request.rb
app/models/import.rb
app/models/media_attachment.rb
app/models/mention.rb
app/models/mute.rb
app/models/notification.rb
app/models/preview_card.rb
app/models/report.rb
app/models/session_activation.rb
app/models/setting.rb
app/models/site_upload.rb
app/models/status.rb
app/models/status_pin.rb
app/models/stream_entry.rb
app/models/subscription.rb
app/models/tag.rb
app/models/user.rb
app/models/web/push_subscription.rb
app/models/web/setting.rb