]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20121202155309_remove_author_name_from_note_comment.rb
Add frozen_string_literal comments to ruby files
[rails.git] / db / migrate / 20121202155309_remove_author_name_from_note_comment.rb
1 # frozen_string_literal: true
2
3 class RemoveAuthorNameFromNoteComment < ActiveRecord::Migration[4.2]
4   def up
5     remove_column :note_comments, :author_name
6   end
7
8   def down
9     add_column :note_comments, :author_name, :string
10   end
11 end