summaryrefslogtreecommitdiffstats
path: root/db/migrate/20150528092912_create_roles_managed_roles.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20150528092912_create_roles_managed_roles.rb')
-rw-r--r--db/migrate/20150528092912_create_roles_managed_roles.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20150528092912_create_roles_managed_roles.rb b/db/migrate/20150528092912_create_roles_managed_roles.rb
new file mode 100644
index 000000000..94e5ee2d8
--- /dev/null
+++ b/db/migrate/20150528092912_create_roles_managed_roles.rb
@@ -0,0 +1,8 @@
+class CreateRolesManagedRoles < ActiveRecord::Migration
+ def change
+ create_table :roles_managed_roles, :id => false do |t|
+ t.integer :role_id, :null => false
+ t.integer :managed_role_id, :null => false
+ end
+ end
+end