Sha256: 4444d87d3f9b86eb8ceed62ff005fa22973f30176bd5d5f26160b407175b82cc

Contents?: true

Size: 281 Bytes

Versions: 13

Compression:

Stored size: 281 Bytes

Contents

class CreateSisCoreLookups < ActiveRecord::Migration[6.0]
  def change
    create_table :sis_core_lookups do |t|
      t.string :name, null: false
      t.string :type, null: false

      t.timestamps
    end

    add_index :sis_core_lookups, %i[name type], unique: true
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sis_core-1.0.12 db/migrate/20200105061717_create_sis_core_lookups.rb
sis_core-1.0.11 db/migrate/20200105061717_create_sis_core_lookups.rb
sis_core-1.0.10 db/migrate/20200105061717_create_sis_core_lookups.rb
sis_core-1.0.9 db/migrate/20200105061717_create_sis_core_lookups.rb
sis_core-1.0.8 db/migrate/20200105061717_create_sis_core_lookups.rb
sis_core-1.0.7 db/migrate/20200105061717_create_sis_core_lookups.rb
sis_core-1.0.6 db/migrate/20200105061717_create_sis_core_lookups.rb
sis_core-1.0.5 db/migrate/20200105061717_create_sis_core_lookups.rb
sis_core-1.0.4 db/migrate/20200105061717_create_sis_core_lookups.rb
sis_core-1.0.3 db/migrate/20200105061717_create_sis_core_lookups.rb
sis_core-1.0.2 db/migrate/20200105061717_create_sis_core_lookups.rb
sis_core-1.0.1 db/migrate/20200105061717_create_sis_core_lookups.rb
sis_core-1.0.0 db/migrate/20200105061717_create_sis_core_lookups.rb