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