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