Show More
Commit Description:
update migration
Commit Description:
update migration
File last commit:
Show/Diff file:
Action:
db/migrate/20090206145016_add_contest_flag_to_announcements.rb | 9 lines | 236 B | text/x-ruby | RubyLexer |
class AddContestFlagToAnnouncements < ActiveRecord::Migration[4.2]
def self.up
add_column :announcements, :contest_only, :boolean, :default => false
end
def self.down
remove_column :announcements, :contest_only
end
end