Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
11
db/migrate/20091010093521_fix_users_custom_values.rb
Normal file
11
db/migrate/20091010093521_fix_users_custom_values.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue