Sha256: 0f0fd58ca7ada3493e3827fb69a443ddf502f0549e2a85c1667cfc11a6a2e4d0
Contents?: true
Size: 440 Bytes
Versions: 9
Compression:
Stored size: 440 Bytes
Contents
class AddForeignKeyToOfferRequest < ActiveRecord::Migration[5.0] def change add_foreign_key :logistics_core_offer_requests, :logistics_core_clients, :column => :client_id remove_column :logistics_core_offer_requests, :client_contract_id, :integer add_column :logistics_core_offer_requests, :contract_id, :integer add_foreign_key :logistics_core_offer_requests, :logistics_core_contracts, :column => :contract_id end end
Version data entries
9 entries across 9 versions & 1 rubygems