view .svn/pristine/8c/8cc5de5e640ab07aad0e53b894b271a11458548a.svn-base @ 1227:eb168c1e9553 live

Show maximum of 10 colleagues
author Chris Cannam
date Tue, 12 Mar 2013 15:45:41 +0000
parents cbb26bc654de
children
line wrap: on
line source
class FixUsersCustomValues < ActiveRecord::Migration
  def self.up
    CustomValue.update_all("customized_type = 'Principal'", "customized_type = 'User'")
  end

  def self.down
    CustomValue.update_all("customized_type = 'User'", "customized_type = 'Principal'")
  end
end