Sha256: 1c5d91f525949f9c943bcb0c55ea43573c1ac63b08d727eb8025f579aec1be56

Contents?: true

Size: 435 Bytes

Versions: 19

Compression:

Stored size: 435 Bytes

Contents

class AssociateBatchWithUKRDCTransmissionLog < ActiveRecord::Migration[5.2]
  def change
    within_renalware_schema do
      rename_table :ukrdc_batch_numbers, :ukrdc_batches
      change_column_null :ukrdc_transmission_logs, :request_uuid, true
      add_reference(
        :ukrdc_transmission_logs,
        :batch,
        foreign_key: { to_table: :ukrdc_batches },
        index: true,
        null: true
      )
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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