From 70b683b2655b11aeeacf738a62827bfdffc03c25 Mon Sep 17 00:00:00 2001 From: Shana Moore Date: Mon, 6 Nov 2023 08:26:45 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Update=20schema=20from=20migrata?= =?UTF-8?q?tions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Running migrations locally produced the following schema changes. --- app/jobs/characterize_job.rb | 2 ++ db/schema.rb | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/jobs/characterize_job.rb b/app/jobs/characterize_job.rb index 1070ddce..372a103c 100644 --- a/app/jobs/characterize_job.rb +++ b/app/jobs/characterize_job.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # OVERIDE Hyrax 3.6 to support fits servlet class CharacterizeJob < Hyrax::ApplicationJob queue_as Hyrax.config.ingest_queue_name diff --git a/db/schema.rb b/db/schema.rb index e6c8a7a4..673feee7 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2023_04_06_183814) do +ActiveRecord::Schema.define(version: 2023_06_08_153601) do # These are extensions that must be enabled in order to support this database enable_extension "hstore" @@ -59,6 +59,9 @@ t.datetime "last_succeeded_at" t.string "importerexporter_type", default: "Bulkrax::Importer" t.integer "import_attempts", default: 0 + t.index ["identifier"], name: "index_bulkrax_entries_on_identifier" + t.index ["importerexporter_id", "importerexporter_type"], name: "bulkrax_entries_importerexporter_idx" + t.index ["type"], name: "index_bulkrax_entries_on_type" end create_table "bulkrax_exporter_runs", force: :cascade do |t| @@ -141,7 +144,9 @@ t.datetime "created_at", null: false t.datetime "updated_at", null: false t.integer "order", default: 0 + t.index ["child_id"], name: "index_bulkrax_pending_relationships_on_child_id" t.index ["importer_run_id"], name: "index_bulkrax_pending_relationships_on_importer_run_id" + t.index ["parent_id"], name: "index_bulkrax_pending_relationships_on_parent_id" end create_table "bulkrax_statuses", force: :cascade do |t| @@ -155,6 +160,9 @@ t.string "runnable_type" t.datetime "created_at", null: false t.datetime "updated_at", null: false + t.index ["error_class"], name: "index_bulkrax_statuses_on_error_class" + t.index ["runnable_id", "runnable_type"], name: "bulkrax_statuses_runnable_idx" + t.index ["statusable_id", "statusable_type"], name: "bulkrax_statuses_statusable_idx" end create_table "checksum_audit_logs", id: :serial, force: :cascade do |t|