Sha256: 3c669ccdabbf79f9384d17830fedc439a9c3c7ca728df297c7d875ef957fa736
Contents?: true
Size: 302 Bytes
Versions: 13
Compression:
Stored size: 302 Bytes
Contents
class FixExistingCouponCredits < ActiveRecord::Migration def self.up execute("UPDATE adjustments SET type='PromotionCredit' WHERE type='CouponCredit'") execute("UPDATE adjustments SET adjustment_source_type='Promotion' WHERE adjustment_source_type='Coupon'") end def self.down end end
Version data entries
13 entries across 13 versions & 2 rubygems