diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20170405112956_add_index_on_mentions_status_id.rb | 5 |
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 |