Sha256: f3eaa81c66d2c16bc16d07b0dbbddaaeef1c4e55c430cf107a2eac4e16847671

Contents?: true

Size: 836 Bytes

Versions: 9

Compression:

Stored size: 836 Bytes

Contents

class CreateLogisticsCoreTwentyFootEquivalenceUnitRates < ActiveRecord::Migration[5.0]
  def change
    create_table :logistics_core_twenty_foot_equivalence_unit_rates do |t|
      t.references :chargeable_service_unit_of_charge, index: { name: 'tfeur_on_csuoc_indx' }
      t.date :effective_date
      t.float :high
      t.float :low
      t.float :medium
      t.float :margin
      t.references :transaction_type, index: { name: 'tfeur_on_tt_indx' }

      t.timestamps
    end

    add_foreign_key :logistics_core_twenty_foot_equivalence_unit_rates, :logistics_core_chargeable_service_unit_of_charges,
                    :column => :chargeable_service_unit_of_charge_id
    add_foreign_key :logistics_core_twenty_foot_equivalence_unit_rates, :logistics_core_lookups,
                    :column => :transaction_type_id
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 db/migrate/20170112115616_create_logistics_core_twenty_foot_equivalence_unit_rates.rb
logistics_core-21.11.1 db/migrate/20170112115616_create_logistics_core_twenty_foot_equivalence_unit_rates.rb
logistics_core-21.08.1 db/migrate/20170112115616_create_logistics_core_twenty_foot_equivalence_unit_rates.rb
logistics_core-21.03.1 db/migrate/20170112115616_create_logistics_core_twenty_foot_equivalence_unit_rates.rb
logistics_core-20.10.3 db/migrate/20170112115616_create_logistics_core_twenty_foot_equivalence_unit_rates.rb
logistics_core-20.10.2 db/migrate/20170112115616_create_logistics_core_twenty_foot_equivalence_unit_rates.rb
logistics_core-20.10.1 db/migrate/20170112115616_create_logistics_core_twenty_foot_equivalence_unit_rates.rb
logistics_core-20.9.1 db/migrate/20170112115616_create_logistics_core_twenty_foot_equivalence_unit_rates.rb
logistics_core-20.8.1 db/migrate/20170112115616_create_logistics_core_twenty_foot_equivalence_unit_rates.rb