mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-10 07:48:29 +00:00
Added tournament backups to the database and added pages to restore and create backups
This commit is contained in:
5
app/models/tournament_backup.rb
Normal file
5
app/models/tournament_backup.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class TournamentBackup < ApplicationRecord
|
||||
belongs_to :tournament
|
||||
|
||||
validates :backup_data, presence: true
|
||||
end
|
||||
Reference in New Issue
Block a user