Sha256: 267cbd18485fd99e47230040f1df4cf07cf5d2db6b79527ea753a502721583a7

Contents?: true

Size: 455 Bytes

Versions: 9

Compression:

Stored size: 455 Bytes

Contents

class CreateLogisticsCoreBroadGaugeBbs < ActiveRecord::Migration[5.0]
  def change
    create_table :logistics_core_broad_gauge_bbs do |t|
      t.references :break_bulk_unit, index: { name: 'bgbbs_on_bbu_indx' }
      t.float :length
      t.float :width
      t.float :height
      t.float :actual_weight

      t.timestamps
    end

    add_foreign_key :logistics_core_broad_gauge_bbs, :logistics_core_lookups, :column => :break_bulk_unit_id
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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