Sha256: 4ce84aff465d011e116a303a9203ef79cb78267acd38a963179811ed5c5d4971

Contents?: true

Size: 369 Bytes

Versions: 68

Compression:

Stored size: 369 Bytes

Contents

class ChangeTotalRecordsToTotalWorkEntries < ActiveRecord::Migration[5.1]
  def change
    rename_column :bulkrax_importer_runs, :total_records, :total_work_entries if column_exists?(:bulkrax_importer_runs, :total_records)
    rename_column :bulkrax_exporter_runs, :total_records, :total_work_entries if column_exists?(:bulkrax_exporter_runs, :total_records)
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
bulkrax-5.2.1 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-4.4.2 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-5.2.0 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-4.4.1 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-4.3.1 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-5.1.0 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-5.0.0 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-4.4.0 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-4.3.0 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-4.2.1 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-4.2.0 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-4.1.1 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-4.1.0 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-4.0.0 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-3.5.1 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-3.5.0 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-3.4.0 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-3.3.2 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-3.3.1 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb
bulkrax-3.3.0 db/migrate/20191204223857_change_total_records_to_total_work_entries.rb