Sha256: 3a360d0c8ffd738f72bd4e1623981b1370b5b7a46f2fbc85e7bfe7c5d80e38b4
Contents?: true
Size: 856 Bytes
Versions: 9
Compression:
Stored size: 856 Bytes
Contents
class CreateServiceDeliveryUnitChargeableServices < ActiveRecord::Migration[5.0] def change create_table :logistics_core_service_delivery_unit_chargeable_services do |t| t.references :service_delivery_unit, index: false t.references :chargeable_service, index: false t.boolean :is_mandatory, default: false end add_index :logistics_core_service_delivery_unit_chargeable_services, [:service_delivery_unit_id, :chargeable_service_id], name: 'sdu_on_services_indx' add_foreign_key :logistics_core_service_delivery_unit_chargeable_services, :logistics_core_service_delivery_units, :column => :service_delivery_unit_id add_foreign_key :logistics_core_service_delivery_unit_chargeable_services, :logistics_core_chargeable_services, :column => :chargeable_service_id end end
Version data entries
9 entries across 9 versions & 1 rubygems