Sha256: 113ed9bdf9f15f6cb02b0b324d85c28b84ea90106bd28dff083ba50a27503555

Contents?: true

Size: 407 Bytes

Versions: 215

Compression:

Stored size: 407 Bytes

Contents

class CreateComeeCoreLookups < ActiveRecord::Migration[7.1]
  def change
    create_table :comee_core_lookups do |t|
      t.string :code, null: false
      t.string :name, null: false
      t.string :lookup_type, null: false

      t.timestamps
    end
    add_index :comee_core_lookups,
              %i[code lookup_type],
              unique: true,
              name: "code_type_on_ccl_indx"
  end
end

Version data entries

215 entries across 215 versions & 1 rubygems

Version Path
comee_core-0.1.56 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.55 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.54 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.53 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.52 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.51 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.50 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.49 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.48 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.47 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.46 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.45 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.45.pre3 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.45.pre2 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.45.pre db/migrate/20231125111539_create_comee_core_lookups.rb