Permalink
Browse files

migration to add the Role

  • Loading branch information...
1 parent c7967f8 commit 730bdf63ce2207a84d14daf68d7e3607a091d528 Travis Warlick committed Aug 27, 2009
Showing with 10 additions and 0 deletions.
  1. +2 −0 README
  2. +8 −0 db/migrate/20090827193701_add_role.rb
View
@@ -1,3 +1,5 @@
= Links
+**This extension requires the rbac_base extension**
+
Description goes here
@@ -0,0 +1,8 @@
+class AddRole < ActiveRecord::Migration
+ def self.up
+ Role.create(:role_name => 'Links', :description => 'Only users in the Links role may modify the links.')
+ end
+
+ def self.down
+ end
+end

0 comments on commit 730bdf6

Please sign in to comment.