mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-15 01:17:12 +00:00
Added a separate table to record background job status for tournaments and fixed migrations/schemas for solid dbs. Foreign key constraints are now added to the migrations where we do belongs_to.
This commit is contained in:
@@ -59,8 +59,8 @@ Rails.application.configure do
|
||||
|
||||
# Replace the default in-process and non-durable queuing backend for Active Job.
|
||||
config.active_job.queue_adapter = :solid_queue
|
||||
# Don't use connects_to here since it's configured via queue.yml
|
||||
# config.solid_queue.connects_to = { database: { writing: :queue } }
|
||||
# Configure Solid Queue to use the queue database
|
||||
config.solid_queue.connects_to = { database: { writing: :queue, reading: :queue } }
|
||||
|
||||
# Configure path for queue migrations
|
||||
config.paths["db/migrate"] << "db/queue/migrate"
|
||||
|
||||
Reference in New Issue
Block a user