From cf7e8409909e1ea02dff9056133449d6cbd34d72 Mon Sep 17 00:00:00 2001 From: Daniel Hunsaker Date: Sun, 12 Nov 2017 08:18:50 -0700 Subject: 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. --- app/models/mute.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/models/mute.rb') diff --git a/app/models/mute.rb b/app/models/mute.rb index 6e64848c7..4174a3523 100644 --- a/app/models/mute.rb +++ b/app/models/mute.rb @@ -5,9 +5,9 @@ # # created_at :datetime not null # updated_at :datetime not null -# account_id :integer not null -# id :integer not null, primary key -# target_account_id :integer not null +# account_id :bigint not null +# id :bigint not null, primary key +# target_account_id :bigint not null # class Mute < ApplicationRecord -- cgit