foodsoft/db/migrate/20120929155541_add_ignore_a...

10 lines
247 B
Ruby

class AddIgnoreAppleRestrictionToGroups < ActiveRecord::Migration[4.2]
def self.up
add_column :groups, :ignore_apple_restriction, :boolean, default: false
end
def self.down
remove_column :groups, :ignore_apple_restriction
end
end