socialforge/db/migrate/063_add_roles_permissions.rb

10 lines
181 B
Ruby

class AddRolesPermissions < ActiveRecord::Migration
def self.up
add_column :roles, :permissions, :text
end
def self.down
remove_column :roles, :permissions
end
end