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

Fixed calculate team scores button, fixed import button, fixed deleting a mat causing match deletes

This commit is contained in:
2026-01-10 23:39:23 -05:00
parent af1f8df4b6
commit b4bca8f10a
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
class Mat < ApplicationRecord
belongs_to :tournament
has_many :matches, dependent: :destroy
has_many :matches, dependent: :nullify
has_many :mat_assignment_rules, dependent: :destroy
validates :name, presence: true