Sha256: 874f81ece07d245e87f5d0799e89e001d61b711193b82c83735a2a0219226da1

Contents?: true

Size: 715 Bytes

Versions: 9

Compression:

Stored size: 715 Bytes

Contents

class CreateLogisticsCoreChargeableServiceIncrements < ActiveRecord::Migration[5.0]
  def change
    create_table :logistics_core_chargeable_service_increments do |t|
      t.references :chargeable_service_unit_of_charge, index: { name: 'csi_on_csuoc_indx' }
      t.references :service_increment, index: { name: 'csi_on_si_indx' }

      t.timestamps
    end

    add_foreign_key :logistics_core_chargeable_service_increments, :logistics_core_chargeable_service_unit_of_charges,
                    :column => :chargeable_service_unit_of_charge_id
    add_foreign_key :logistics_core_chargeable_service_increments, :logistics_core_service_increments,
                    :column => :service_increment_id
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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