diff --git a/db/migrate/20231128200116_add_model_details_to_iiif_print_pending_relationships.iiif_print.rb b/db/migrate/20231128200116_add_model_details_to_iiif_print_pending_relationships.iiif_print.rb new file mode 100644 index 00000000..23437715 --- /dev/null +++ b/db/migrate/20231128200116_add_model_details_to_iiif_print_pending_relationships.iiif_print.rb @@ -0,0 +1,8 @@ +# This migration comes from iiif_print (originally 20231110163052) +class AddModelDetailsToIiifPrintPendingRelationships < ActiveRecord::Migration[5.2] + def change + add_column :iiif_print_pending_relationships, :parent_model, :string + add_column :iiif_print_pending_relationships, :child_model, :string + add_column :iiif_print_pending_relationships, :file_id, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 34835a0f..366674f4 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,13 +10,11 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2023_08_04_073106) do +ActiveRecord::Schema.define(version: 2023_11_28_200116) do # These are extensions that must be enabled in order to support this database - enable_extension "hstore" enable_extension "pgcrypto" enable_extension "plpgsql" - enable_extension "uuid-ossp" create_table "account_cross_searches", force: :cascade do |t| t.bigint "search_account_id" @@ -519,6 +517,9 @@ t.string "child_order", null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false + t.string "parent_model" + t.string "child_model" + t.string "file_id" t.index ["parent_id"], name: "index_iiif_print_pending_relationships_on_parent_id" end diff --git a/docker-compose.bundle.yml b/docker-compose.bundle.yml new file mode 100644 index 00000000..dfdb4c88 --- /dev/null +++ b/docker-compose.bundle.yml @@ -0,0 +1,13 @@ +# Copy file to docker-compose.override.yml to override docker-compose.yml +# Only use for local development +version: '3.8' +services: + # Uncomment to allow for the use of a ruby debugger (byebug, pry, etc) in Docker. + # See http://playbook-staging.notch8.com/en/devops/docker_debugger for more info. + web: + command: sh -l -c "bundle && tail -f /dev/null" + # command: sh -l -c "bundle && bundle exec puma -v -b tcp://0.0.0.0:3000" + worker: + command: sh -l -c "bundle && tail -f /dev/null" + # command: sh -l -c "bundle && bundle exec good_job" +