bigdir/db/migrate/064_drop_permissions.rb

11 lines
189 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class DropPermissions < ActiveRecord::Migration
def self.up
drop_table :permissions
drop_table :permissions_roles
end
def self.down
raise IrreversibleMigration
end
end