Redmine/db/migrate/20110408103312_add_roles_is...

10 lines
253 B
Ruby
Raw Normal View History

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