1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

3 Commits

5 changed files with 17 additions and 7 deletions

View File

@@ -111,6 +111,6 @@
</tbody>
</table>
<% if can? :manage, @school %>
<%= render 'baums_roster_import' %>
<% end %>
<%# if can? :manage, @school %>
<%#= render 'baums_roster_import' %>
<%# end %>

View File

@@ -8,7 +8,7 @@ and will also delete all of your current data. It's best to use the create backu
<tr>
<th>Backup Created At</th>
<th>Backup Reason</th>
<th><%= link_to ' Create New Backup', tournament_tournament_backups_path(@tournament), method: :post, class: 'fas fa-plus'%></th>
<th><%= link_to ' Create New Backup', tournament_tournament_backups_path(@tournament), data: { turbo_method: :post }, class: 'fas fa-plus'%></th>
</tr>
</thead>
<tbody>

View File

@@ -131,7 +131,7 @@
<% if can? :manage, @tournament %>
<td>
<%= link_to '', mat, data: { turbo_method: :delete, turbo_confirm: "Are you sure you want to delete Mat #{mat.name}?" }, :class=>"fas fa-trash-alt" %>
<%= link_to '', "/mats/#{mat.id}/assign_next_match", method: :post, :class=>"fas fa-solid fa-arrow-right" %>
<%= link_to '', "/mats/#{mat.id}/assign_next_match", data: { turbo_method: :post }, :class=>"fas fa-solid fa-arrow-right" %>
</td>
<% end %>
</tr>

View File

@@ -0,0 +1,10 @@
class IncreaseSolidQueueJobArgumentsLimit < ActiveRecord::Migration[8.0]
def up
# Allow large payloads (e.g., pasted import text) to be enqueued without blowing up MySQL's TEXT limit (~64KB).
change_column :solid_queue_jobs, :arguments, :text, limit: 16.megabytes - 1
end
def down
change_column :solid_queue_jobs, :arguments, :text
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2025_04_04_153529) do
ActiveRecord::Schema[8.0].define(version: 2025_05_04_190000) do
create_table "solid_queue_blocked_executions", force: :cascade do |t|
t.bigint "job_id", null: false
t.string "queue_name", null: false
@@ -41,7 +41,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_04_04_153529) do
create_table "solid_queue_jobs", force: :cascade do |t|
t.string "queue_name", null: false
t.string "class_name", null: false
t.text "arguments"
t.text "arguments", limit: 16777215
t.integer "priority", default: 0, null: false
t.string "active_job_id"
t.datetime "scheduled_at"