Sha256: b22c57b14ea64c142447fc1d94a45229c5cc2310bd0abb57649f4937a0837df7
Contents?: true
Size: 1.02 KB
Versions: 9
Compression:
Stored size: 1.02 KB
Contents
class CreateLogisticsCoreChargeableServiceUnitOfCharges < ActiveRecord::Migration[5.0] def change create_table :logistics_core_chargeable_service_unit_of_charges do |t| t.references :service_delivery_unit, index: { name: 'csuoc_on_sdu_indx' } t.references :chargeable_service, index: { name: 'csuoc_on_cs_indx' } t.references :unit_of_charge, index: { name: 'csuoc_on_uoc_indx' } t.boolean :has_increment t.boolean :has_container_special_increment t.boolean :has_content_special_increment t.timestamps end add_foreign_key :logistics_core_chargeable_service_unit_of_charges, :logistics_core_service_delivery_units, :column => :service_delivery_unit_id add_foreign_key :logistics_core_chargeable_service_unit_of_charges, :logistics_core_chargeable_services, :column => :chargeable_service_id add_foreign_key :logistics_core_chargeable_service_unit_of_charges, :logistics_core_lookups, :column => :unit_of_charge_id end end
Version data entries
9 entries across 9 versions & 1 rubygems