Sha256: 670b7f414322f461e42890f7e2ca77cdb36087506fe395982ff40c6d50f0b169

Contents?: true

Size: 494 Bytes

Versions: 60

Compression:

Stored size: 494 Bytes

Contents

class AddColumnsToSupportDataMigration < ActiveRecord::Migration[5.2]
  def change
    within_renalware_schema do
      add_column :admission_admissions, :feed_id, :string, index: true
      add_column :clinic_appointments, :feed_id, :string, index: true
      add_reference(
        :clinic_appointments,
        :consultant,
        index: true,
        foreign_key: { to_table: :renal_consultants }
      )
      add_column :clinic_appointments, :clinic_description, :text
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
renalware-core-2.0.147 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.146 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.145 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.144 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.143 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.142 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.141 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.140 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.139 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.138 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.137 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.136 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.135 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.134 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.133 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.132 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.131 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.130 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.129 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.128 db/migrate/20190909084425_add_columns_to_support_data_migration.rb