;]
[askyou.git] / db / migrate / 20091010093521_fix_users_custom_values.rb
blob923c78fc0f316a4f2933fba300bc7d443722d5dc
1 class FixUsersCustomValues < ActiveRecord::Migration
2   def self.up
3     CustomValue.update_all("customized_type = 'Principal'", "customized_type = 'User'")
4   end
6   def self.down
7     CustomValue.update_all("customized_type = 'User'", "customized_type = 'Principal'")
8   end
9 end