socialforge/db/migrate/20110408103312_add_roles_is...

10 lines
253 B
Ruby
Raw Permalink Normal View History

2013-08-01 10:33:49 +08:00
class AddRolesIssuesVisibility < ActiveRecord::Migration
def self.up
add_column :roles, :issues_visibility, :string, :limit => 30, :default => 'default', :null => false
end
def self.down
remove_column :roles, :issues_visibility
end
end