bigdir/db/migrate/20130202090625_add_projects...

10 lines
229 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddProjectsInheritMembers < ActiveRecord::Migration
def up
add_column :projects, :inherit_members, :boolean, :default => false, :null => false
end
def down
remove_column :projects, :inherit_members
end
end