1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-02 04:35:26 +00:00

Fixed reset password after the Devise migration.

This commit is contained in:
2025-04-14 14:25:40 -04:00
parent 4828d9b876
commit 01a499cc45
18 changed files with 383 additions and 158 deletions

View File

@@ -0,0 +1,13 @@
class CreateTournamentJobStatuses < ActiveRecord::Migration[8.0]
def change
create_table :tournament_job_statuses do |t|
t.references :tournament, null: false, foreign_key: true
t.string :job_name, null: false
t.string :status, null: false, default: "Queued" # Queued, Running, Errored
t.text :details # Additional details about the job (e.g., wrestler name, school name)
t.timestamps
end
add_index :tournament_job_statuses, [:tournament_id, :job_name]
end
end