diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-15 14:07:34 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-15 14:12:24 -0500 |
commit | 037be680608d3d60a657761087792c43098c2c2d (patch) | |
tree | 7a46839a16093b9ac679b5e58e9109c47664d172 /db | |
parent | 09eb7fb78dd20d0afd78e8623ecac2346e7eadb8 (diff) |
ignore `tsv` column & add index to local-scope posts
Diffstat (limited to 'db')
-rw-r--r-- | db/schema.rb | 5 |
1 files changed, 2 insertions, 3 deletions
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 |