diff options
author | Akihiko Odaki (@fn_aki@pawoo.net) <akihiko.odaki.4i@stu.hosei.ac.jp> | 2017-06-24 00:46:00 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-23 17:46:00 +0200 |
commit | 6f34a6a77f5df6ddd6980c85c9edcc6aa400df73 (patch) | |
tree | 6806f61f71f50335bb2db71d3f42866987e56864 /db/schema.rb | |
parent | e078919f07c3542f8cc6aedc3c554404f328e907 (diff) |
Add index statuses on account_id and id (#3895)
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb index ba6c0e876..2f12c7308 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: 20170609145826) do +ActiveRecord::Schema.define(version: 20170610000000) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -279,7 +279,7 @@ ActiveRecord::Schema.define(version: 20170609145826) do t.integer "reblogs_count", default: 0, null: false t.string "language" t.bigint "conversation_id" - t.index ["account_id"], name: "index_statuses_on_account_id" + t.index ["account_id", "id"], name: "index_statuses_on_account_id_id" t.index ["conversation_id"], name: "index_statuses_on_conversation_id" t.index ["in_reply_to_id"], name: "index_statuses_on_in_reply_to_id" t.index ["reblog_of_id"], name: "index_statuses_on_reblog_of_id" |