Sha256: 506518acd1b57e18ebbdfc41f48fa2af5925b64479655f5c10de9ec18040ffb5

Contents?: true

Size: 308 Bytes

Versions: 56

Compression:

Stored size: 308 Bytes

Contents

class AddShipmentAndPaymentState < ActiveRecord::Migration
  def self.up
    change_table :orders do |t|
      t.string :shipment_state
      t.string :payment_state
    end
  end

  def self.down
    change_table :orders do |t|
      t.remove :shipment_state
      t.remove :payment_state
    end
  end
end

Version data entries

56 entries across 44 versions & 9 rubygems

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