Sha256: 040fe34d5b4b0b09bfb14b9b1942faa8e9ee7d3ed43a8d85778efc7e290faf83
Contents?: true
Size: 640 Bytes
Versions: 9
Compression:
Stored size: 640 Bytes
Contents
class CreateLogisticsCoreTruckTypeCntWeightRanges < ActiveRecord::Migration[5.0] def change create_table :logistics_core_truck_type_cnt_weight_ranges do |t| t.references :truck_type_assignment, index: { name: 'ttcwr_on_tta_indx' } t.references :weight_range, index: { name: 'ttcwr_on_wr_indx' } t.timestamps end add_foreign_key :logistics_core_truck_type_cnt_weight_ranges, :logistics_core_truck_type_assignments, :column => :truck_type_assignment_id add_foreign_key :logistics_core_truck_type_cnt_weight_ranges, :logistics_core_weight_ranges, :column => :weight_range_id end end
Version data entries
9 entries across 9 versions & 1 rubygems