From 130aa90d5500f481c181a16012724b5f81d62616 Mon Sep 17 00:00:00 2001 From: David Yip <yipdw@member.fsf.org> Date: Fri, 17 Nov 2017 17:41:15 -0600 Subject: Update annotations on Follow, FollowRequest, and Mute. Follow and FollowRequest had conflicts in their schema annotations, so I ran latest migrations and let annotate_models fix them up. --- app/models/follow.rb | 5 ++--- app/models/follow_request.rb | 5 ++--- app/models/mute.rb | 6 +++--- 3 files changed, 7 insertions(+), 9 deletions(-) (limited to 'app/models') diff --git a/app/models/follow.rb b/app/models/follow.rb index b82da7227..3fb665afc 100644 --- a/app/models/follow.rb +++ b/app/models/follow.rb @@ -6,9 +6,8 @@ # id :integer not null, primary key # created_at :datetime not null # updated_at :datetime not null -# account_id :bigint not null -# id :bigint not null, primary key -# target_account_id :bigint not null +# account_id :integer not null +# target_account_id :integer not null # show_reblogs :boolean default(TRUE), not null # diff --git a/app/models/follow_request.rb b/app/models/follow_request.rb index 21f01e18b..ebf6959ce 100644 --- a/app/models/follow_request.rb +++ b/app/models/follow_request.rb @@ -6,9 +6,8 @@ # id :integer not null, primary key # created_at :datetime not null # updated_at :datetime not null -# account_id :bigint not null -# id :bigint not null, primary key -# target_account_id :bigint not null +# account_id :integer not null +# target_account_id :integer not null # show_reblogs :boolean default(TRUE), not null # diff --git a/app/models/mute.rb b/app/models/mute.rb index 74b445c0b..ca984641a 100644 --- a/app/models/mute.rb +++ b/app/models/mute.rb @@ -3,12 +3,12 @@ # # Table name: mutes # -# id :bigint not null, primary key +# id :integer not null, primary key # created_at :datetime not null # updated_at :datetime not null -# account_id :bigint not null -# target_account_id :bigint not null # hide_notifications :boolean default(TRUE), not null +# account_id :integer not null +# target_account_id :integer not null # class Mute < ApplicationRecord -- cgit