Sha256: 8df6ee3349f101ca61c48e1cf331337f667d78b9a968125df5964b06d1b65afd

Contents?: true

Size: 464 Bytes

Versions: 18

Compression:

Stored size: 464 Bytes

Contents

class CreatePDPETDextroseConcentrations < ActiveRecord::Migration[5.2]
  def change
    within_renalware_schema do
      create_table :pd_pet_dextrose_concentrations do |t|
        t.string :name, null: false, index: { unique: true }
        t.float :value, null: false, index: { unique: true }
        t.boolean :hidden, null: false, default: false
        t.integer :position, null: false, default: 0
        t.timestamps null: false
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
renalware-core-2.1.1 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.1.0 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.167 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.166 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.165 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.164 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.163 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.162 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.161 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.160 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.159 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.158 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.157 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.156 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.155 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.153 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.152 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
renalware-core-2.0.151 db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb