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/follow_request.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/models/follow_request.rb') diff --git a/app/models/follow_request.rb b/app/models/follow_request.rb index 458bcd28a..ce27fc921 100644 --- a/app/models/follow_request.rb +++ b/app/models/follow_request.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 FollowRequest < ApplicationRecord -- cgit