about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authornicolas <nclm@users.noreply.github.com>2016-11-23 15:43:27 +0100
committerGitHub <noreply@github.com>2016-11-23 15:43:27 +0100
commit23677bc51e657522049fb904e626f81f577de515 (patch)
treedc9417c57a3af3036d621940a751e9adf1b09ce3 /db/migrate
parent1e95fbb10b81ea0eedcb39a83e52f42e3dbb456c (diff)
parent82191b33831f26e071a27dd59ce2e46fb467589c (diff)
Merge branch 'master' into french-translation
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20161122163057_remove_unneeded_indexes.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20161122163057_remove_unneeded_indexes.rb b/db/migrate/20161122163057_remove_unneeded_indexes.rb
new file mode 100644
index 000000000..3832b878d
--- /dev/null
+++ b/db/migrate/20161122163057_remove_unneeded_indexes.rb
@@ -0,0 +1,7 @@
+class RemoveUnneededIndexes < ActiveRecord::Migration[5.0]
+  def change
+    remove_index :notifications, name: "index_notifications_on_account_id"
+    remove_index :settings, name: "index_settings_on_target_type_and_target_id"
+    remove_index :statuses_tags, name: "index_statuses_tags_on_tag_id"
+  end
+end