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:
13
db/migrate/20250411183818_create_tournament_job_statuses.rb
Normal file
13
db/migrate/20250411183818_create_tournament_job_statuses.rb
Normal 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
|
||||
Reference in New Issue
Block a user