Sha256: 49079e951db49db5b69261ddf19657b804df4db90835fba1d76745f50e205fd3
Contents?: true
Size: 632 Bytes
Versions: 9
Compression:
Stored size: 632 Bytes
Contents
class CreateLogisticsCoreBroadGaugeCnts < ActiveRecord::Migration[5.0] def change create_table :logistics_core_broad_gauge_cnts do |t| t.references :container_size, index: { name: 'bgc_on_cs_indx' } t.references :container_type, index: { name: 'bgc_on_ct_indx' } t.float :length t.float :width t.float :height t.float :actual_weight t.timestamps end add_foreign_key :logistics_core_broad_gauge_cnts, :logistics_core_lookups, :column => :container_size_id add_foreign_key :logistics_core_broad_gauge_cnts, :logistics_core_lookups, :column => :container_type_id end end
Version data entries
9 entries across 9 versions & 1 rubygems