Sha256: 98f58b3b08aca7b9ba2cee619258393bc5d8f76548605c9e7873c6a5a5dd5aaa

Contents?: true

Size: 422 Bytes

Versions: 68

Compression:

Stored size: 422 Bytes

Contents

class AddStatusToEntry < ActiveRecord::Migration[5.1]
  def change
    add_column :bulkrax_entries, :last_error, :text unless column_exists?(:bulkrax_entries, :last_error)
    add_column :bulkrax_entries, :last_error_at, :datetime unless column_exists?(:bulkrax_entries, :last_error_at)

    add_column :bulkrax_entries, :last_succeeded_at, :datetime unless column_exists?(:bulkrax_entries, :last_succeeded_at)

  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
bulkrax-9.0.2 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-9.0.1 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-9.0.0 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-8.2.3 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-8.2.2 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-8.3.0 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-8.2.1 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-8.2.0 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-8.1.0 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-8.0.0 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-7.0.0 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-5.5.1 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-5.4.2 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-5.3.1 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-6.0.1 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-6.0.0 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-5.5.0 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-5.4.1 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-5.4.0 db/migrate/20190601221109_add_status_to_entry.rb
bulkrax-5.3.0 db/migrate/20190601221109_add_status_to_entry.rb