Sha256: b694dcb2958e1338220eae8eb5dffcd5163eef009388b088598eee9df70fc6cf

Contents?: true

Size: 270 Bytes

Versions: 18

Compression:

Stored size: 270 Bytes

Contents

class CreateShipments < ActiveRecord::Migration
  def self.up
    create_table :shipments do |t|
      t.references :order
      t.references :shipping_method
      t.string :tracking
      t.timestamps
    end
  end

  def self.down
    drop_table :shipments
  end
end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 db/migrate/20081015001711_create_shipments.rb
spree-enriquez-0.9.4 db/migrate/20081015001711_create_shipments.rb
spree-0.9.4 db/migrate/20081015001711_create_shipments.rb
spree-0.9.3 db/migrate/20081015001711_create_shipments.rb
spree-0.9.2 db/migrate/20081015001711_create_shipments.rb
spree-0.9.1 db/migrate/20081015001711_create_shipments.rb
spree-0.9.0 db/migrate/20081015001711_create_shipments.rb
spree-0.8.4 db/migrate/20081015001711_create_shipments.rb
spree-0.8.5 db/migrate/20081015001711_create_shipments.rb
spree-0.5.0 vendor/extensions/shipping/db/migrate/20081015001711_create_shipments.rb
spree-0.6.0 vendor/extensions/shipping/db/migrate/20081015001711_create_shipments.rb
spree-0.5.1 vendor/extensions/shipping/db/migrate/20081015001711_create_shipments.rb
spree-0.7.1 vendor/extensions/shipping/db/migrate/20081015001711_create_shipments.rb
spree-0.7.0 vendor/extensions/shipping/db/migrate/20081015001711_create_shipments.rb
spree-0.8.0 db/migrate/20081015001711_create_shipments.rb
spree-0.8.1 db/migrate/20081015001711_create_shipments.rb
spree-0.8.2 db/migrate/20081015001711_create_shipments.rb
spree-0.8.3 db/migrate/20081015001711_create_shipments.rb