about summary refs log tree commit diff
path: root/db/migrate/20170424112722_add_status_id_index_to_statuses_tags.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20170424112722_add_status_id_index_to_statuses_tags.rb')
-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