Skip to content

Commit

Permalink
fixing importers/exporters
Browse files Browse the repository at this point in the history
  • Loading branch information
orangewolf committed Dec 3, 2024
1 parent 58ed3e9 commit 0e1aefa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/migrate/20241203010707_entry_error_denormalization.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class EntryErrorDenormalization < ActiveRecord::Migration[6.1]
def change
add_column :bulkrax_entries, :error_class, :string unless column_exists?(:bulkrax_entries, :error_class)
add_column :bulkrax_importers, :error_class, :string unless column_exists?(:bulkrax_entries, :error_class)
add_column :bulkrax_exporters, :error_class, :string unless column_exists?(:bulkrax_entries, :error_class)
add_column :bulkrax_importers, :error_class, :string unless column_exists?(:bulkrax_importers, :error_class)
add_column :bulkrax_exporters, :error_class, :string unless column_exists?(:bulkrax_exporters, :error_class)
end
end
4 changes: 4 additions & 0 deletions spec/test_app/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
t.boolean "include_thumbnails", default: false
t.boolean "generated_metadata", default: false
t.string "status_message", default: "Pending"
t.string "error_class"
t.index ["user_id"], name: "index_bulkrax_exporters_on_user_id"
end

Expand All @@ -102,6 +103,8 @@
t.integer "total_file_set_entries", default: 0
t.integer "processed_works", default: 0
t.integer "failed_works", default: 0
t.integer "processed_children", default: 0
t.integer "failed_children", default: 0
t.index ["importer_id"], name: "index_bulkrax_importer_runs_on_importer_id"
end

Expand All @@ -122,6 +125,7 @@
t.string "status_message", default: "Pending"
t.datetime "last_imported_at"
t.datetime "next_import_at"
t.string "error_class"
t.index ["user_id"], name: "index_bulkrax_importers_on_user_id"
end

Expand Down

0 comments on commit 0e1aefa

Please sign in to comment.