Sha256: 82cadc17042e9c4f6e4b31b25484a6d5a05483341dcb58f11587862b8bacd5dc
Contents?: true
Size: 676 Bytes
Versions: 9
Compression:
Stored size: 676 Bytes
Contents
class CreateLogisticsCoreTruckTypeBbWeightRanges < ActiveRecord::Migration[5.0] def change create_table :logistics_core_truck_type_bb_weight_ranges do |t| t.references :weight_range, index: { name: 'ttbbwr_on_wr_indx' } t.references :break_bulk_truck_assignment, index: { name: 'ttbbwr_on_bbta_indx' } t.timestamps end add_foreign_key :logistics_core_truck_type_bb_weight_ranges, :logistics_core_weight_ranges, :column => :weight_range_id add_foreign_key :logistics_core_truck_type_bb_weight_ranges, :logistics_core_break_bulk_truck_assignments, :column => :break_bulk_truck_assignment_id end end
Version data entries
9 entries across 9 versions & 1 rubygems