##// END OF EJS Templates
Updated CHANGELOG for 2.4.4 and 2.5.0....
Updated CHANGELOG for 2.4.4 and 2.5.0. git-svn-id: http://svn.redmine.org/redmine/trunk@12948 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12213:0bc3ef5014dd
r12673:8a2413f3b718
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