]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20131212124700_add_created_at_index_to_note_comments.rb
Add an index on created_at to the note_comments table
[rails.git] / db / migrate / 20131212124700_add_created_at_index_to_note_comments.rb
diff --git a/db/migrate/20131212124700_add_created_at_index_to_note_comments.rb b/db/migrate/20131212124700_add_created_at_index_to_note_comments.rb
new file mode 100644 (file)
index 0000000..8322047
--- /dev/null
@@ -0,0 +1,5 @@
+class AddCreatedAtIndexToNoteComments < ActiveRecord::Migration
+  def change
+    add_index :note_comments, :created_at
+  end
+end