Sha256: 6696bb5cc599a2631a9ce4bf5d5e4391fa795368e6d94045e0139bbd9e207859

Contents?: true

Size: 617 Bytes

Versions: 2

Compression:

Stored size: 617 Bytes

Contents

class CreateSisCoreApplicationDocuments < ActiveRecord::Migration[6.0]
  def change
    create_table :sis_core_application_documents do |t|
      t.string :document, null: false
      t.references :document_requirement,
                   null: false,
                   index: { name: 'ad_on_adr_indx' },
                   foreign_key: { to_table: :sis_core_document_requirements }
      t.references :application,
                   null: false,
                   index: { name: 'ad_on_application_indx' },
                   foreign_key: { to_table: :sis_core_applications }
      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sis_core-1.0.5 db/migrate/20200107101638_create_sis_core_application_documents.rb
sis_core-1.0.4 db/migrate/20200107101638_create_sis_core_application_documents.rb