Sha256: 17ac7ca2fefe4a70f14e53d51346c544ea8bff0cb6aa20967fd55d3b35a93534

Contents?: true

Size: 433 Bytes

Versions: 9

Compression:

Stored size: 433 Bytes

Contents

class CreateVirologyVaccinationTypes < ActiveRecord::Migration[5.2]
  within_renalware_schema do
    def change
      create_table :virology_vaccination_types do |t|
        t.string :code, null: false, index: { unique: true }
        t.string :name, null: false, index: { unique: true }
        t.integer :position, null: false, default: 0
        t.datetime :deleted_at
        t.timestamps null: false
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
renalware-core-2.1.1 db/migrate/20210105163944_create_virology_vaccination_types.rb
renalware-core-2.1.0 db/migrate/20210105163944_create_virology_vaccination_types.rb
renalware-core-2.0.167 db/migrate/20210105163944_create_virology_vaccination_types.rb
renalware-core-2.0.166 db/migrate/20210105163944_create_virology_vaccination_types.rb
renalware-core-2.0.165 db/migrate/20210105163944_create_virology_vaccination_types.rb
renalware-core-2.0.164 db/migrate/20210105163944_create_virology_vaccination_types.rb
renalware-core-2.0.163 db/migrate/20210105163944_create_virology_vaccination_types.rb
renalware-core-2.0.162 db/migrate/20210105163944_create_virology_vaccination_types.rb
renalware-core-2.0.161 db/migrate/20210105163944_create_virology_vaccination_types.rb