Add index statuses on account_id and id (#3895)
This commit is contained in:
parent
e078919f07
commit
6f34a6a77f
2 changed files with 15 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue