Sha256: 0b5f2a793464d5a5e1f8d947b75d6981b1d1c951f73d2b7326af9288f1603fbd
Contents?: true
Size: 546 Bytes
Versions: 3
Compression:
Stored size: 546 Bytes
Contents
class CreateAssetRepairRequests < ActiveRecord::Migration def change create_table :asset_repair_requests do |t| t.boolean :approved t.text :comments t.date :approved_date t.date :requested_date t.timestamps end add_reference :asset_repair_requests, :asset, index: true add_reference :asset_repair_requests, :requested_by, index: true add_reference :asset_repair_requests, :approved_by, index: true add_reference :asset_repair_requests, :vendor, index: true end end
Version data entries
3 entries across 3 versions & 1 rubygems