]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20131212124700_add_created_at_index_to_note_comments.rb
use a controller method to handle cancan denials
[rails.git] / db / migrate / 20131212124700_add_created_at_index_to_note_comments.rb
1 class AddCreatedAtIndexToNoteComments < ActiveRecord::Migration[5.0]
2   def change
3     add_index :note_comments, :created_at
4   end
5 end