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-3.2.0 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.1.2 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.1.1 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.1.0 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.0.1 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.0.0 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.0.0.beta8 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.0.0.beta7 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.0.0.beta6 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.0.0.beta5 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.0.0.beta4 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.0.0.beta3 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.0.0.beta2 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-3.0.0.beta1 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-2.3.0 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-2.2.4 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-2.2.3 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-2.2.2 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-2.2.1 db/migrate/20181011230228_create_bulkrax_importer_runs.rb
bulkrax-2.2.0 db/migrate/20181011230228_create_bulkrax_importer_runs.rb