Sha256: e99e8c8a1d503a51bcfc900354756eb9bf919533f1cc5669c92b9f21aa5a236b
Contents?: true
Size: 760 Bytes
Versions: 9
Compression:
Stored size: 760 Bytes
Contents
class CreateLogisticsCoreBillOfLadingRates < ActiveRecord::Migration[5.0] def change create_table :logistics_core_bill_of_lading_rates do |t| t.references :chargeable_service_unit_of_charge, index: { name: 'bolr_on_csuoc_indx' } t.references :transaction_type, index: { name: 'bolr_on_tt_indx' } t.date :effective_date t.float :high t.float :low t.float :margin t.float :medium t.timestamps end add_foreign_key :logistics_core_bill_of_lading_rates, :logistics_core_chargeable_service_unit_of_charges, :column => :chargeable_service_unit_of_charge_id add_foreign_key :logistics_core_bill_of_lading_rates, :logistics_core_lookups, :column => :transaction_type_id end end
Version data entries
9 entries across 9 versions & 1 rubygems