Sha256: 287017f36189b6a3211d3d8318868cd1a6c5f58da9b286786dc88857b5d8eeee
Contents?: true
Size: 651 Bytes
Versions: 9
Compression:
Stored size: 651 Bytes
Contents
class CreateLogisticsCoreAddendums < ActiveRecord::Migration[5.0] def change create_table :logistics_core_addendums do |t| t.references :service_increment, index: { name: 'add_on_si_indx' } t.references :addition, index: { name: 'add_on_addition_indx' } t.timestamps end add_foreign_key :logistics_core_addendums, :logistics_core_service_increments, :column => :service_increment_id, :name => 'fk_addendum_service_increments' add_foreign_key :logistics_core_addendums, :logistics_core_service_increments, :column => :addition_id, :name => 'fk_addendum_additions' end end
Version data entries
9 entries across 9 versions & 1 rubygems