Sha256: b0d6c432b31978b6533bf39ba0d9a46551efb40620b881c7d5c836ee1422c2b4
Contents?: true
Size: 606 Bytes
Versions: 9
Compression:
Stored size: 606 Bytes
Contents
# This migration comes from spree (originally 20130319062004) class ChangeOrdersTotalPrecision < ActiveRecord::Migration[4.2] def change change_column :spree_orders, :item_total, :decimal, precision: 10, scale: 2, default: 0.0, null: false change_column :spree_orders, :total, :decimal, precision: 10, scale: 2, default: 0.0, null: false change_column :spree_orders, :adjustment_total, :decimal, precision: 10, scale: 2, default: 0.0, null: false change_column :spree_orders, :payment_total, :decimal, precision: 10, scale: 2, default: 0.0 end end
Version data entries
9 entries across 9 versions & 2 rubygems