From 037be680608d3d60a657761087792c43098c2c2d Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 15 Jul 2019 14:07:34 -0500 Subject: ignore `tsv` column & add index to local-scope posts --- db/schema.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'db') diff --git a/db/schema.rb b/db/schema.rb index 2ccbf9e9f..5d86405d4 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2019_05_21_003909) do +ActiveRecord::Schema.define(version: 2019_07_14_172721) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -658,7 +658,6 @@ ActiveRecord::Schema.define(version: 2019_05_21_003909) do t.bigint "in_reply_to_account_id" t.boolean "local_only" t.bigint "poll_id" - t.tsvector "tsv" t.boolean "curated", default: false, null: false t.string "sharekey" t.boolean "network", default: false, null: false @@ -668,12 +667,12 @@ ActiveRecord::Schema.define(version: 2019_05_21_003909) do t.boolean "imported" t.string "origin" t.index ["account_id", "id", "visibility", "updated_at"], name: "index_statuses_20180106", order: { id: :desc } + t.index ["account_id", "id", "visibility"], name: "index_statuses_on_account_id_and_id_and_visibility", where: "(visibility = ANY (ARRAY[0, 1, 2, 4, 5]))" t.index ["in_reply_to_account_id"], name: "index_statuses_on_in_reply_to_account_id" t.index ["in_reply_to_id"], name: "index_statuses_on_in_reply_to_id" t.index ["network"], name: "index_statuses_on_network", where: "network" t.index ["origin"], name: "index_statuses_on_origin", unique: true t.index ["reblog_of_id", "account_id"], name: "index_statuses_on_reblog_of_id_and_account_id" - t.index ["tsv"], name: "tsv_idx", using: :gin t.index ["uri"], name: "index_statuses_on_uri", unique: true end -- cgit