summaryrefslogtreecommitdiffstats
path: root/db/migrate/064_drop_permissions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/064_drop_permissions.rb')
-rw-r--r--db/migrate/064_drop_permissions.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/064_drop_permissions.rb b/db/migrate/064_drop_permissions.rb
new file mode 100644
index 000000000..f4ca470bf
--- /dev/null
+++ b/db/migrate/064_drop_permissions.rb
@@ -0,0 +1,10 @@
+class DropPermissions < ActiveRecord::Migration
+ def self.up
+ drop_table :permissions
+ drop_table :permissions_roles
+ end
+
+ def self.down
+ raise IrreversibleMigration
+ end
+end