Sha256: 1c830291016ba95f37ad2723908ae3c020dbaf0da9cc367d5bc0715500178005
Contents?: true
Size: 633 Bytes
Versions: 141
Compression:
Stored size: 633 Bytes
Contents
class RenameTaxTotalFields < ActiveRecord::Migration[4.2] def change rename_column :spree_line_items, :tax_total, :additional_tax_total rename_column :spree_shipments, :tax_total, :additional_tax_total rename_column :spree_orders, :tax_total, :additional_tax_total add_column :spree_line_items, :included_tax_total, :decimal, precision: 10, scale: 2, null: false, default: 0.0 add_column :spree_shipments, :included_tax_total, :decimal, precision: 10, scale: 2, null: false, default: 0.0 add_column :spree_orders, :included_tax_total, :decimal, precision: 10, scale: 2, null: false, default: 0.0 end end
Version data entries
141 entries across 141 versions & 2 rubygems