Sha256: 9c63d31389663cd2dbb6c1fc6431343a402b377fa24ccf38f37f2cab7f61a4fc

Contents?: true

Size: 284 Bytes

Versions: 3

Compression:

Stored size: 284 Bytes

Contents

class CreateDispatches < ActiveRecord::Migration
  def change
    create_table :dispatches do |t|
      t.date :dispatch_date
      t.date :return_date
      t.text :comments

      t.timestamps
    end
    
    add_reference :dispatches, :asset_repair_request, index: true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150409151023_create_dispatches.rb
pshq_engine-0.1.5 db/migrate/20150409151023_create_dispatches.rb
pshq_engine-0.0.1 db/migrate/20150409151023_create_dispatches.rb