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. Foreign key constraints are now added to the migrations where we do belongs_to.

This commit is contained in:
2025-04-15 16:16:44 -04:00
parent 4828d9b876
commit 6e61a7245a
37 changed files with 678 additions and 1169 deletions

View File

@@ -9,6 +9,19 @@
</div>
<% end %>
<% if (can? :manage, @tournament) && @tournament.has_active_jobs? %>
<div class="alert alert-info">
<strong>Background Jobs In Progress</strong>
<p>The following background jobs are currently running:</p>
<ul>
<% @tournament.active_jobs.each do |job| %>
<li><%= job.job_name %> - <%= job.status %> <%= "(#{job.details})" if job.details.present? %></li>
<% end %>
</ul>
<p>Please refresh the page to check progress.</p>
</div>
<% end %>
<p>
<strong>Address:</strong>
<%= @tournament.address %>