Sha256: 8413384aee06bf9109fbb400e4ba59a530c087b8c077dd7e95daed39da54d712

Contents?: true

Size: 535 Bytes

Versions: 68

Compression:

Stored size: 535 Bytes

Contents

class CreateBulkraxImporterRuns < ActiveRecord::Migration[5.1]
  def change
    unless table_exists?(:bulkrax_importer_runs)
      create_table :bulkrax_importer_runs do |t|
        t.references :importer, foreign_key: {to_table: :bulkrax_importers}
        t.integer :total_records, default: 0
        t.integer :enqueued_records, default: 0
        t.integer :processed_records, default: 0
        t.integer :deleted_records, default: 0
        t.integer :failed_records, default: 0

        t.timestamps
      end
    end
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

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