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