Sha256: 6b073b11f4fb1e1fad5ef11b055a4c399f9e382c6db3eb404e63fa7917f03425
Contents?: true
Size: 425 Bytes
Versions: 9
Compression:
Stored size: 425 Bytes
Contents
class CreateLogisticsCoreContracts < ActiveRecord::Migration[5.0] def change create_table :logistics_core_contracts do |t| t.string :contract_number t.string :title t.date :start_date t.date :end_date t.date :contract_signed_date t.integer :client_id t.timestamps end add_foreign_key :logistics_core_contracts, :logistics_core_clients, :column => :client_id end end
Version data entries
9 entries across 9 versions & 1 rubygems