diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-04-28 15:02:05 +0400 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-04-28 15:02:05 +0400 |
commit | c685024951b8fed73ab05039baa170859ddf7b12 (patch) | |
tree | 5afb02b6147e9d4516c3fd096c128d488deaa283 /db/migrate | |
parent | 285926918b95f1d771bf4e9c84972d4e55b41ea9 (diff) |
Add an index for Note#updated_at
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20140428105831_add_notes_index_updated_at.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20140428105831_add_notes_index_updated_at.rb b/db/migrate/20140428105831_add_notes_index_updated_at.rb new file mode 100644 index 00000000000..6c25570f128 --- /dev/null +++ b/db/migrate/20140428105831_add_notes_index_updated_at.rb @@ -0,0 +1,5 @@ +class AddNotesIndexUpdatedAt < ActiveRecord::Migration + def change + add_index :notes, :updated_at + end +end |