##// END OF EJS Templates
tagged version 3.2.5...
tagged version 3.2.5 git-svn-id: http://svn.redmine.org/redmine/tags/3.2.5@16147 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12213:0bc3ef5014dd
r15765:e848a428dd08 3.2.5
Show More
20091010093521_fix_users_custom_values.rb
11 lines | 302 B | text/x-ruby | RubyLexer
/ db / migrate / 20091010093521_fix_users_custom_values.rb
class FixUsersCustomValues < ActiveRecord::Migration
def self.up
CustomValue.where("customized_type = 'User'").
update_all("customized_type = 'Principal'")
end
def self.down
CustomValue.where("customized_type = 'Principal'").
update_all("customized_type = 'User'")
end
end