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.RC1 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.60.1 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.60.0 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.60.0.RC1 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_essential_press-0.1.0.pre3 test/dummy/db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_essential_press-0.1.0.pre2 test/dummy/db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.50.2 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.50.1 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.50.0 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.40.3 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.40.2 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.40.1 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.40.0 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.30.1 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.30.0 db/migrate/20100817152723_add_shipment_and_payment_state.rb
spree_core-0.30.0.beta1 lib/generators/templates/db/migrate/20100817152723_add_shipment_and_payment_state.rb