Sha256: f8913da0e69be1b9cd198cba6267cf95c3a8df84d317f0ba99348b0b625a5da5
Contents?: true
Size: 551 Bytes
Versions: 9
Compression:
Stored size: 551 Bytes
Contents
class CreateLogisticsCoreTransporters < ActiveRecord::Migration[5.0] def change create_table :logistics_core_transporters do |t| t.string :name t.string :postal_code t.string :city t.references :country, index: { name: 'transporter_on_country_indx' } t.string :telephone t.string :fax t.string :email t.string :contact_person t.string :contact_telephone t.timestamps end add_foreign_key :logistics_core_transporters, :logistics_core_lookups, :column => :country_id end end
Version data entries
9 entries across 9 versions & 1 rubygems