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.76 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.75 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.74 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.73 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.72 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.71 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.70 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.69 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.68 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.67 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.66 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.65 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.64 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.63 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.62 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.61 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.60 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.59 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.58 db/migrate/20231125111539_create_comee_core_lookups.rb
comee_core-0.1.57 db/migrate/20231125111539_create_comee_core_lookups.rb