Sha256: 11833bda6be260f6555d010885ac59f16b52e493a7fce3289a2a803b9c9a8675

Contents?: true

Size: 310 Bytes

Versions: 14

Compression:

Stored size: 310 Bytes

Contents

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

Version data entries

14 entries across 14 versions & 7 rubygems

Version Path
spree_weight_calculator-0.1.0 test/dummy/db/migrate/20160723192476_change_spree_payments_amount_precision.spree.rb
spree_order_reporting-0.0.3 spec/dummy/db/migrate/20160708163073_change_spree_payments_amount_precision.spree.rb
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103397_change_spree_payments_amount_precision.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112349_change_spree_payments_amount_precision.spree.rb
sprangular-0.1.0 spec/dummy/db/migrate/20140814105675_change_spree_payments_amount_precision.spree.rb
sprangular-0.0.1 spec/dummy/db/migrate/20140814105675_change_spree_payments_amount_precision.spree.rb
spree_mercado_pago-0.2.3 spec/dummy/db/migrate/20141204014668_change_spree_payments_amount_precision.spree.rb
spree_mercado_pago-0.2.2 spec/dummy/db/migrate/20141204014668_change_spree_payments_amount_precision.spree.rb
spree_mercado_pago-0.2.1 spec/dummy/db/migrate/20141112193451_change_spree_payments_amount_precision.spree.rb
spree_mercado_pago-0.2.0 spec/dummy/db/migrate/20141112193451_change_spree_payments_amount_precision.spree.rb
spree_mercado_pago_payment_method-0.2.0 spec/dummy/db/migrate/20141112193451_change_spree_payments_amount_precision.spree.rb
spree_bitpay-1.0.2 spec/dummy/db/migrate/20141002181248_change_spree_payments_amount_precision.spree.rb
bcms_spree-0.0.2 test/dummy/db/migrate/20140915222587_change_spree_payments_amount_precision.spree.rb
bcms_spree-0.0.1 test/dummy/db/migrate/20140915222587_change_spree_payments_amount_precision.spree.rb