Sha256: ca5d88007e290a330c2621d14f0a92d49284c03c41246ad1d1e21b395bf54ed5
Contents?: true
Size: 302 Bytes
Versions: 34
Compression:
Stored size: 302 Bytes
Contents
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
Version data entries
34 entries across 34 versions & 1 rubygems