Sha256: 85b626485ac18f0e43554327d7e78b733fa1bd587dbff3f8c3b9d66703d06709

Contents?: true

Size: 374 Bytes

Versions: 201

Compression:

Stored size: 374 Bytes

Contents

class CreateComeeCoreUnits < ActiveRecord::Migration[7.0]
  def change
    create_table :comee_core_units do |t|
      t.string :code, null: false
      t.string :name, null: false
      t.integer :unit_type, null: false, default: 0
      t.string :aliases, array: true, default: []

      t.timestamps
    end
    add_index :comee_core_units, :code, unique: true
  end
end

Version data entries

201 entries across 201 versions & 1 rubygems

Version Path
comee_core-0.3.62 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.61 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.60 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.59 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.58 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.57 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.56 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.55 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.54 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.53 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.51 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.50 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.49 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.48 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.47 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.46 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.45 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.44 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.43 db/migrate/20230727153013_create_comee_core_units.rb
comee_core-0.3.42 db/migrate/20230727153013_create_comee_core_units.rb