Sha256: f0e773999416529619ee52fa3ebb616c6d6fe8f7ad4dfd8bd88cea439a7e6a7c
Contents?: true
Size: 740 Bytes
Versions: 9
Compression:
Stored size: 740 Bytes
Contents
class CreateLogisticsCoreAirwayBillRates < ActiveRecord::Migration[5.0] def change create_table :logistics_core_airway_bill_rates do |t| t.references :transaction_type, index: { name: 'awb_on_tt_indx' } t.references :chargeable_service_unit_of_charge, index: { name: 'awb_on_csuoc'} t.float :low t.float :medium t.float :high t.date :effective_date t.float :margin t.timestamps end add_foreign_key :logistics_core_airway_bill_rates, :logistics_core_lookups, :column => :transaction_type_id add_foreign_key :logistics_core_airway_bill_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