Sha256: fddd300ff247764a2d18511658a741337e0c55c1dc52102079559e75d6fee2c7

Contents?: true

Size: 303 Bytes

Versions: 9

Compression:

Stored size: 303 Bytes

Contents

# This migration comes from spree (originally 20130319063911)
class ChangeSpreePaymentsAmountPrecision < ActiveRecord::Migration[4.2]
  def change
   
    change_column :spree_payments, :amount,  :decimal, precision: 10, scale: 2, default: 0.0, null: false
                                   
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195754_change_spree_payments_amount_precision.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091695_change_spree_payments_amount_precision.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091695_change_spree_payments_amount_precision.spree.rb
spree_purchase_order-3.6.0 spec/dummy/db/migrate/20180516181883_change_spree_payments_amount_precision.spree.rb
spree_purchase_order-3.5.0 spec/dummy/db/migrate/20180516181883_change_spree_payments_amount_precision.spree.rb
spree_purchase_order-3.5.0.rc1 spec/dummy/db/migrate/20180516181883_change_spree_payments_amount_precision.spree.rb
spree_purchase_order-3.4.0 spec/dummy/db/migrate/20180516181883_change_spree_payments_amount_precision.spree.rb
spree_purchase_order-3.3.0 spec/dummy/db/migrate/20180516181883_change_spree_payments_amount_precision.spree.rb
spree_purchase_order-3.2.0 spec/dummy/db/migrate/20180516181883_change_spree_payments_amount_precision.spree.rb