Sha256: 6facd51a8398f0aa68169f21f3057302a108f457b64bdf07cb50a777b60c5cd5
Contents?: true
Size: 660 Bytes
Versions: 9
Compression:
Stored size: 660 Bytes
Contents
class CreateLogisticsCoreAgencies < ActiveRecord::Migration[5.0] def change create_table :logistics_core_agencies do |t| t.string :code t.string :name t.string :telephone t.string :contact_person t.string :city t.string :subcity t.integer :woreda t.string :house_no t.string :email t.string :postal_code t.string :contact_telephone t.string :contact_email t.references :agency_category, index: { name: 'ac_on_agencies_indx' } t.timestamps end add_foreign_key :logistics_core_agencies, :logistics_core_extended_lookups, :column => :agency_category_id end end
Version data entries
9 entries across 9 versions & 1 rubygems