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.
master
David Yip 7 years ago
parent 1ab12ba38e
commit 130aa90d55
  1. 5
      app/models/follow.rb
  2. 5
      app/models/follow_request.rb
  3. 6
      app/models/mute.rb
  4. 1
      db/schema.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
#

@ -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
#

@ -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

@ -234,7 +234,6 @@ ActiveRecord::Schema.define(version: 20171116161857) do
t.boolean "hide_notifications", default: true, null: false
t.bigint "account_id", null: false
t.bigint "target_account_id", null: false
t.boolean "hide_notifications", default: true, null: false
t.index ["account_id", "target_account_id"], name: "index_mutes_on_account_id_and_target_account_id", unique: true
end

Loading…
Cancel
Save