summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--db/migrate/062_insert_builtin_roles.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/062_insert_builtin_roles.rb b/db/migrate/062_insert_builtin_roles.rb
index 25e160877..070d9285f 100644
--- a/db/migrate/062_insert_builtin_roles.rb
+++ b/db/migrate/062_insert_builtin_roles.rb
@@ -1,5 +1,6 @@
class InsertBuiltinRoles < ActiveRecord::Migration
def self.up
+ Role.reset_column_information
nonmember = Role.new(:name => 'Non member', :position => 0)
nonmember.builtin = Role::BUILTIN_NON_MEMBER
nonmember.save