about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authoralpaca-tc <alpaca-tc@alpaca.tc>2017-04-24 22:10:14 +0900
committerEugen <eugen@zeonfederated.com>2017-04-24 15:10:14 +0200
commitd000a0b58a9895253fa62da13add44b4a3e828f8 (patch)
tree8f18ee5237b91fd8a87427be9979d9e05bb65664 /db/migrate
parentcf845fed3824d3e3587ce9b2ad752c2b3f0a2a76 (diff)
Add index to statuses_tags#status_id (#2394)
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20170424112722_add_status_id_index_to_statuses_tags.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20170424112722_add_status_id_index_to_statuses_tags.rb b/db/migrate/20170424112722_add_status_id_index_to_statuses_tags.rb
new file mode 100644
index 000000000..d1db8cc62
--- /dev/null
+++ b/db/migrate/20170424112722_add_status_id_index_to_statuses_tags.rb
@@ -0,0 +1,5 @@
+class AddStatusIdIndexToStatusesTags < ActiveRecord::Migration[5.0]
+  def change
+    add_index :statuses_tags, :status_id
+  end
+end