Sha256: fefa065009f7e1fd58659aa04e9a8496454be61205f84ffced4e91789aaaa90e
Contents?: true
Size: 383 Bytes
Versions: 4
Compression:
Stored size: 383 Bytes
Contents
# This migration comes from spree_promo (originally 20100923095305) class UpdateCalculableTypeForPromotions < ActiveRecord::Migration def up execute "UPDATE spree_calculators SET calculable_type = 'Promotion' WHERE calculable_type = 'Coupon'" end def down execute "UPDATE spree_calculators SET calculable_type = 'Coupon' WHERE calculable_type = 'Promotion'" end end
Version data entries
4 entries across 4 versions & 1 rubygems