Sha256: e93f5cb26191a6159fe8a5f851ea0b537b4b0c60d621227aad6f2fece721f986

Contents?: true

Size: 684 Bytes

Versions: 9

Compression:

Stored size: 684 Bytes

Contents

class CreateSisCoreDocumentRequirements < ActiveRecord::Migration[6.0]
  def change
    create_table :sis_core_document_requirements do |t|
      t.integer :original, null: false, default: 0
      t.integer :copy, null: false, default: 0
      t.string :remark
      t.references :document_type,
                   null: false,
                   index: { name: 'adr_on_dc_indx' },
                   foreign_key: { to_table: :sis_core_lookups }
      t.references :application_setup,
                   null: false,
                   index: { name: 'adr_on_as_indx' },
                   foreign_key: { to_table: :sis_core_application_setups }

      t.timestamps
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sis_core-1.0.12 db/migrate/20200106133034_create_sis_core_document_requirements.rb
sis_core-1.0.11 db/migrate/20200106133034_create_sis_core_document_requirements.rb
sis_core-1.0.10 db/migrate/20200106133034_create_sis_core_document_requirements.rb
sis_core-1.0.9 db/migrate/20200106133034_create_sis_core_document_requirements.rb
sis_core-1.0.8 db/migrate/20200106133034_create_sis_core_document_requirements.rb
sis_core-1.0.7 db/migrate/20200106133034_create_sis_core_document_requirements.rb
sis_core-1.0.6 db/migrate/20200106133034_create_sis_core_document_requirements.rb
sis_core-1.0.5 db/migrate/20200106133034_create_sis_core_document_requirements.rb
sis_core-1.0.4 db/migrate/20200106133034_create_sis_core_document_requirements.rb