Just commented out
This commit is contained in:
parent
41f6b24d75
commit
4139e86331
@ -2,18 +2,17 @@ Index: db/migrate/062_insert_builtin_roles.rb
|
||||
===================================================================
|
||||
--- db/migrate/062_insert_builtin_roles.rb (revision 12244)
|
||||
+++ db/migrate/062_insert_builtin_roles.rb (working copy)
|
||||
@@ -2,12 +2,12 @@
|
||||
@@ -2,11 +2,11 @@
|
||||
def self.up
|
||||
Role.reset_column_information
|
||||
nonmember = Role.new(:name => 'Non member', :position => 0)
|
||||
- nonmember.builtin = Role::BUILTIN_NON_MEMBER
|
||||
+ #nonmember.builtin = Role::BUILTIN_NON_MEMBER
|
||||
nonmember.save
|
||||
+ Role.connection.execute("UPDATE roles SET builtin = #{Role::BUILTIN_NON_MEMBER} WHERE name = 'Non member'")
|
||||
|
||||
anonymous = Role.new(:name => 'Anonymous', :position => 0)
|
||||
- anonymous.builtin = Role::BUILTIN_ANONYMOUS
|
||||
+ #anonymous.builtin = Role::BUILTIN_ANONYMOUS
|
||||
anonymous.save
|
||||
+ Role.connection.execute("UPDATE roles SET builtin = #{Role::BUILTIN_ANONYMOUS} WHERE name = 'Anonymous'")
|
||||
end
|
||||
|
||||
def self.down
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user