]> source.dussan.org Git - redmine.git/commitdiff
Undefined #builtin= with Rails 3.1.3.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Feb 2012 11:48:29 +0000 (11:48 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Feb 2012 11:48:29 +0000 (11:48 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8997 e93f8b46-1217-0410-a6f0-8f06a7374b81

db/migrate/062_insert_builtin_roles.rb

index 25e160877e7feea15fd3a623344d7047454d3ab3..070d9285f3dcae4d7b2c0e3ddf999b560b575955 100644 (file)
@@ -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