1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-04 13:43:48 +00:00

Added a separate table to record background job status for tournaments and fixed migrations/schemas for solid dbs

This commit is contained in:
2025-04-15 13:31:58 -04:00
parent 4828d9b876
commit 71411ff6f8
25 changed files with 483 additions and 1076 deletions

View File

@@ -0,0 +1,27 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
# This model requires tournament, job_name, and status fields
queued_job:
tournament: one
job_name: "Test Queued Job"
status: "Queued"
details: "Test job details"
running_job:
tournament: one
job_name: "Test Running Job"
status: "Running"
details: "Test running job details"
errored_job:
tournament: one
job_name: "Test Errored Job"
status: "Errored"
details: "Test error message"
another_tournament_job:
tournament: two
job_name: "Another Tournament Job"
status: "Running"
details: "Different tournament test"

View File

@@ -23,3 +23,7 @@ three:
four:
email: test4@test.com
id: 4
admin:
email: admin@example.com
id: 5