Sha256: 23b52503851f9ca877ad79cffa3f5c823122b5171a655eab1f4553e089b3c31c

Contents?: true

Size: 380 Bytes

Versions: 8

Compression:

Stored size: 380 Bytes

Contents

class CreateComableShipments < ActiveRecord::Migration
  def change
    create_table :comable_shipments do |t|
      t.references :order, null: false
      t.references :shipment_method, null: false
      t.integer :fee, null: false
      t.string :state, null: false
      t.string :tracking_number
      t.datetime :completed_at
      t.timestamps null: false
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
comable-core-0.7.1 db/migrate/20150423095210_create_comable_shipments.rb
comable-core-0.7.0 db/migrate/20150423095210_create_comable_shipments.rb
comable-core-0.7.0.beta2 db/migrate/20150423095210_create_comable_shipments.rb
comable-core-0.7.0.beta1 db/migrate/20150423095210_create_comable_shipments.rb
comable-core-0.6.0 db/migrate/20150423095210_create_comable_shipments.rb
comable_core-0.5.0 db/migrate/20150423095210_create_comable_shipments.rb
comable_core-0.4.2 db/migrate/20150423095210_create_comable_shipments.rb
comable_core-0.4.1 db/migrate/20150423095210_create_comable_shipments.rb