Sha256: f967fca3822d2ff251e12216889819d410cd8619521197db3c11a1b8f6d8b79a
Contents?: true
Size: 492 Bytes
Versions: 98
Compression:
Stored size: 492 Bytes
Contents
class CreateHDProviderUnits < ActiveRecord::Migration[5.1] def change within_renalware_schema do create_table "renalware.hd_provider_units" do |t| t.references :hospital_unit, foreign_key: true, null: false t.references :hd_provider, foreign_key: true, null: false t.string :providers_reference, index: true t.timestamps null: false end add_index :hd_provider_units, [:hd_provider_id, :hospital_unit_id], unique: true end end end
Version data entries
98 entries across 98 versions & 1 rubygems