Sha256: f0f8b6eb1698310221bd03ecb416995ed386b5bbde050d93beaf183b3140e2ba

Contents?: true

Size: 403 Bytes

Versions: 9

Compression:

Stored size: 403 Bytes

Contents

class CreateLogisticsCoreTruckTypeAssignments < ActiveRecord::Migration[5.0]
  def change
    create_table :logistics_core_truck_type_assignments do |t|
      t.references :container_size, index: { name: 'tta_on_cs_indx' }
      t.float :truck_type

      t.timestamps
    end

    add_foreign_key :logistics_core_truck_type_assignments, :logistics_core_lookups, :column => :container_size_id
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 db/migrate/20170113135406_create_logistics_core_truck_type_assignments.rb
logistics_core-21.11.1 db/migrate/20170113135406_create_logistics_core_truck_type_assignments.rb
logistics_core-21.08.1 db/migrate/20170113135406_create_logistics_core_truck_type_assignments.rb
logistics_core-21.03.1 db/migrate/20170113135406_create_logistics_core_truck_type_assignments.rb
logistics_core-20.10.3 db/migrate/20170113135406_create_logistics_core_truck_type_assignments.rb
logistics_core-20.10.2 db/migrate/20170113135406_create_logistics_core_truck_type_assignments.rb
logistics_core-20.10.1 db/migrate/20170113135406_create_logistics_core_truck_type_assignments.rb
logistics_core-20.9.1 db/migrate/20170113135406_create_logistics_core_truck_type_assignments.rb
logistics_core-20.8.1 db/migrate/20170113135406_create_logistics_core_truck_type_assignments.rb