socialforge/db/migrate/061_add_roles_builtin.rb

10 lines
203 B
Ruby

class AddRolesBuiltin < ActiveRecord::Migration
def self.up
add_column :roles, :builtin, :integer, :default => 0, :null => false
end
def self.down
remove_column :roles, :builtin
end
end