]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20121202155309_remove_author_name_from_note_comment.rb
Remove the author_name field from notes
[rails.git] / db / migrate / 20121202155309_remove_author_name_from_note_comment.rb
1 class RemoveAuthorNameFromNoteComment < ActiveRecord::Migration
2   def up
3     remove_column :note_comments, :author_name
4   end
5
6   def down
7     add_column :note_comments, :author_name, :string
8   end
9 end