Sha256: 9290471131e6fbdd4d11fba387a37f470e2c844d7b7b6894aa8f7131d9c51480

Contents?: true

Size: 461 Bytes

Versions: 9

Compression:

Stored size: 461 Bytes

Contents

class CreateLogisticsCoreClientContracts < ActiveRecord::Migration[5.0]
  def change
    create_table :logistics_core_client_contracts do |t|
      t.references :offer_request, index: { name: 'cc_on_or_indx' }
      t.string :title
      t.integer :status
      t.string :ref_no
      t.date :contract_date

      t.timestamps
    end

    add_foreign_key :logistics_core_client_contracts, :logistics_core_offer_requests, :column => :offer_request_id
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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