Sha256: e0151b3658574f7c7dcf34065074d531bfcf10c8c12fe950f869364d4ea93975

Contents?: true

Size: 239 Bytes

Versions: 56

Compression:

Stored size: 239 Bytes

Contents

class PaymentTotalForOrders < ActiveRecord::Migration
  def self.up
    add_column :orders, :payment_total, :decimal, :precision => 8, :scale => 2, :default => 0.0
  end

  def self.down
    remove_column :orders, :payment_total
  end
end

Version data entries

56 entries across 44 versions & 9 rubygems

Version Path
spree_core-0.70.7 db/migrate/20100813185745_payment_total_for_orders.rb
spree_core-0.70.6 db/migrate/20100813185745_payment_total_for_orders.rb
apispree_core-0.0.0 db/migrate/20100813185745_payment_total_for_orders.rb
My-Commerce_core-1.1.0 db/migrate/20100813185745_payment_total_for_orders.rb
My-Commerce_core-1.0.0 db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerceapi-1.0.0 auth/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerceapi-1.0.0 sandbox/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerceapi-1.0.0 core/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerceapi-1.0.0 api/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerceapi-1.0.0 dash/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerceapi-1.0.0 promo/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerceapi-1.0.0 core/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerce-0.0.3 auth/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerce-0.0.3 core/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerce-0.0.3 api/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerce-0.0.3 sandbox/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerce-0.0.3 promo/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerce-0.0.3 dash/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb
MyCommerce-0.0.3 core/db/migrate/20100813185745_payment_total_for_orders.rb
rfcommerce_sandbox-0.0.3 db/migrate/20100813185745_payment_total_for_orders.rb