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.1.1 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.1.0 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.167 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.166 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.165 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.164 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.163 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.162 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.161 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.160 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.159 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.158 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.157 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.156 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.155 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.153 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.152 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.151 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.149 db/migrate/20190909084425_add_columns_to_support_data_migration.rb
renalware-core-2.0.148 db/migrate/20190909084425_add_columns_to_support_data_migration.rb