Sha256: b5dd7f60d6beb1109709311f816e2e0a23819f0330aad5cc10a8229b9675649f
Contents?: true
Size: 559 Bytes
Versions: 9
Compression:
Stored size: 559 Bytes
Contents
# This migration comes from spree (originally 20130828234942) class AddTaxTotalToLineItemsShipmentsAndOrders < ActiveRecord::Migration[4.2] def change add_column :spree_line_items, :tax_total, :decimal, precision: 10, scale: 2, default: 0.0 add_column :spree_shipments, :tax_total, :decimal, precision: 10, scale: 2, default: 0.0 # This column may already be here from a 2.1.x migration add_column :spree_orders, :tax_total, :decimal, precision: 10, scale: 2, default: 0.0 unless column_exists? :spree_orders, :tax_total, :decimal end end
Version data entries
9 entries across 9 versions & 2 rubygems