Sha256: 491617a1627dd3c0602f3952ebb9fe320ca88e17f4dcaef1cd56ab39ff1735fb

Contents?: true

Size: 397 Bytes

Versions: 9

Compression:

Stored size: 397 Bytes

Contents

class CreateLogisticsCoreCarriers < ActiveRecord::Migration[5.0]
  def change
    create_table :logistics_core_carriers do |t|
      t.string :name
      t.string :email
      t.string :contact_telephone
      t.references :carrier_type, index: true

      t.timestamps
    end

    add_foreign_key :logistics_core_carriers, :logistics_core_extended_lookups, :column => :carrier_type_id
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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