Show More
Commit Description:
update migration
Commit Description:
update migration
File last commit:
Show/Diff file:
Action:
db/migrate/20090815171610_add_title_to_announcements.rb | 9 lines | 196 B | text/x-ruby | RubyLexer |
class AddTitleToAnnouncements < ActiveRecord::Migration[4.2]
def self.up
add_column :announcements, :title, :string
end
def self.down
remove_column :announcements, :title
end
end