Sha256: b208634b94ba6d96d3ff79b6021188abeca2a53c5b4f208031f84a413b34f8b8
Contents?: true
Size: 715 Bytes
Versions: 9
Compression:
Stored size: 715 Bytes
Contents
class CreateLogisticsCoreServiceDeliveryUnitServices < ActiveRecord::Migration[5.0] def change create_table :logistics_core_service_delivery_unit_services do |t| t.references :service_delivery_unit, index: { name: 'sdus_on_sdu_indx' } t.references :chargeable_service, index: { name: 'sdus_on_cs_indx' } t.boolean :is_mandatory t.timestamps end add_foreign_key :logistics_core_service_delivery_unit_services, :logistics_core_service_delivery_units, :column => :service_delivery_unit_id add_foreign_key :logistics_core_service_delivery_unit_services, :logistics_core_chargeable_services, :column => :chargeable_service_id end end
Version data entries
9 entries across 9 versions & 1 rubygems