Sha256: cbaf0685e24eb364cc22d7cc7b78cb6ee25f376d697c0536d8c6b68f1829efd2

Contents?: true

Size: 557 Bytes

Versions: 2

Compression:

Stored size: 557 Bytes

Contents

# This migration comes from spree (originally 20150407173305)
class AddFieldsToStockTransfer < ActiveRecord::Migration
  def change
    add_column :spree_stock_transfers, :shipped_at, :datetime
    add_column :spree_stock_transfers, :closed_at, :datetime
    add_column :spree_stock_transfers, :tracking_number, :string
    add_column :spree_stock_transfers, :created_by_id, :integer
    add_column :spree_stock_transfers, :closed_by_id, :integer

    add_index :spree_stock_transfers, :shipped_at
    add_index :spree_stock_transfers, :closed_at
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103573_add_fields_to_stock_transfer.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112525_add_fields_to_stock_transfer.spree.rb