Sha256: 6cacb9455b7f237e357a4ce3d549a52d352e80ddf41f52840d27494cc0ea1ad3

Contents?: true

Size: 498 Bytes

Versions: 11

Compression:

Stored size: 498 Bytes

Contents

class DenormalizeStatusMessage < ActiveRecord::Migration[5.2]
  def change
    add_column :bulkrax_entries, :status_message, :string, default: 'Pending' unless column_exists?(:bulkrax_entries, :status_message)
    add_column :bulkrax_importers, :status_message, :string, default: 'Pending' unless column_exists?(:bulkrax_importers, :status_message)
    add_column :bulkrax_exporters, :status_message, :string, default: 'Pending' unless column_exists?(:bulkrax_exporters, :status_message)
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bulkrax-9.0.2 db/migrate/20240208005801_denormalize_status_message.rb
bulkrax-9.0.1 db/migrate/20240208005801_denormalize_status_message.rb
bulkrax-9.0.0 db/migrate/20240208005801_denormalize_status_message.rb
bulkrax-8.2.3 db/migrate/20240208005801_denormalize_status_message.rb
bulkrax-8.2.2 db/migrate/20240208005801_denormalize_status_message.rb
bulkrax-8.3.0 db/migrate/20240208005801_denormalize_status_message.rb
bulkrax-8.2.1 db/migrate/20240208005801_denormalize_status_message.rb
bulkrax-8.2.0 db/migrate/20240208005801_denormalize_status_message.rb
bulkrax-8.1.0 db/migrate/20240208005801_denormalize_status_message.rb
bulkrax-8.0.0 db/migrate/20240208005801_denormalize_status_message.rb
bulkrax-7.0.0 db/migrate/20240208005801_denormalize_status_message.rb