Sha256: 38ade141ee26b593d8d191c84ea0ce48151cbbd385a53dccf92e16af428ddc45
Contents?: true
Size: 244 Bytes
Versions: 52
Compression:
Stored size: 244 Bytes
Contents
class MigrateAdjustments < ActiveRecord::Migration def self.up execute("update adjustments set amount = 0.0 where amount is null") execute("update adjustments set mandatory = 'true', locked = 'true'") end def self.down end end
Version data entries
52 entries across 40 versions & 9 rubygems