Sha256: 902be640d88007f7c0adf6e9e5800fdd202eb2e06c4baab1c1f66fd501e31267

Contents?: true

Size: 555 Bytes

Versions: 9

Compression:

Stored size: 555 Bytes

Contents

class AddChargeableServiceToKgRate < ActiveRecord::Migration[5.1]
  def change
    add_column :logistics_core_contract_kilogram_rates, :chargeable_service_unit_of_charge_id, :integer
    add_column :logistics_core_contract_kilogram_rates, :transaction_type_id, :integer

    add_foreign_key :logistics_core_contract_kilogram_rates, :logistics_core_chargeable_service_unit_of_charges, column: :chargeable_service_unit_of_charge_id
    add_foreign_key :logistics_core_contract_kilogram_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/20171013052226_add_chargeable_service_to_kg_rate.rb
logistics_core-21.11.1 db/migrate/20171013052226_add_chargeable_service_to_kg_rate.rb
logistics_core-21.08.1 db/migrate/20171013052226_add_chargeable_service_to_kg_rate.rb
logistics_core-21.03.1 db/migrate/20171013052226_add_chargeable_service_to_kg_rate.rb
logistics_core-20.10.3 db/migrate/20171013052226_add_chargeable_service_to_kg_rate.rb
logistics_core-20.10.2 db/migrate/20171013052226_add_chargeable_service_to_kg_rate.rb
logistics_core-20.10.1 db/migrate/20171013052226_add_chargeable_service_to_kg_rate.rb
logistics_core-20.9.1 db/migrate/20171013052226_add_chargeable_service_to_kg_rate.rb
logistics_core-20.8.1 db/migrate/20171013052226_add_chargeable_service_to_kg_rate.rb