diff options
-rw-r--r-- | app/models/mute.rb | 3 | ||||
-rw-r--r-- | db/schema.rb | 8 |
2 files changed, 5 insertions, 6 deletions
diff --git a/app/models/mute.rb b/app/models/mute.rb index bdd1d27d6..07135b215 100644 --- a/app/models/mute.rb +++ b/app/models/mute.rb @@ -9,9 +9,8 @@ # hide_notifications :boolean default(TRUE), not null # account_id :bigint(8) not null # target_account_id :bigint(8) not null -# hide_notifications :boolean default(TRUE), not null -# expires_at :datetime # timelines_only :boolean default(FALSE), not null +# expires_at :datetime # class Mute < ApplicationRecord diff --git a/db/schema.rb b/db/schema.rb index 323851b10..138a73191 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -522,12 +522,12 @@ ActiveRecord::Schema.define(version: 2020_10_08_220312) do end create_table "ip_blocks", force: :cascade do |t| - t.datetime "created_at", null: false - t.datetime "updated_at", null: false - t.datetime "expires_at" t.inet "ip", default: "0.0.0.0", null: false t.integer "severity", default: 0, null: false + t.datetime "expires_at" t.text "comment", default: "", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false end create_table "list_accounts", force: :cascade do |t| @@ -606,8 +606,8 @@ ActiveRecord::Schema.define(version: 2020_10_08_220312) do t.boolean "hide_notifications", default: true, null: false t.bigint "account_id", null: false t.bigint "target_account_id", null: false - t.datetime "expires_at" t.boolean "timelines_only", default: false, null: false + t.datetime "expires_at" t.index ["account_id", "target_account_id"], name: "index_mutes_on_account_id_and_target_account_id", unique: true t.index ["target_account_id"], name: "index_mutes_on_target_account_id" end |