about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authornicobz25 <nico@alias-serveur.com>2017-04-05 13:48:31 +0200
committerGitHub <noreply@github.com>2017-04-05 13:48:31 +0200
commit6201fba2d3bcb38d2728b0f21a98fbd4c3b9205a (patch)
tree493580d1216ac32f9db414ff9cf2567ae56d0c25 /db/migrate
parent9572282a559a07196e62190a852aacbd94968c71 (diff)
parentcfe91ac984fcabcc1980e88367dd636f0a8cc799 (diff)
Merge branch 'master' into patch-1
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20170405112956_add_index_on_mentions_status_id.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20170405112956_add_index_on_mentions_status_id.rb b/db/migrate/20170405112956_add_index_on_mentions_status_id.rb
new file mode 100644
index 000000000..3ed1a20cf
--- /dev/null
+++ b/db/migrate/20170405112956_add_index_on_mentions_status_id.rb
@@ -0,0 +1,5 @@
+class AddIndexOnMentionsStatusId < ActiveRecord::Migration[5.0]
+  def change
+    add_index :mentions, :status_id
+  end
+end