Skip to content

Commit

Permalink
Merge pull request #567 from scientist-softserv/update-migrations-to-…
Browse files Browse the repository at this point in the history
…reflect-iiif-print-updates

🐛 Update migrations to reflect IIIF Print and GoodJob
  • Loading branch information
jeremyf authored Nov 28, 2023
2 parents c7265e4 + 886f763 commit d4468e2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
7 changes: 4 additions & 3 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down
13 changes: 13 additions & 0 deletions docker-compose.bundle.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit d4468e2

Please sign in to comment.