X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FRound.php;h=e93501079aa3ca183cac26ad7c455bff48422a67;hb=2110d91bc5016fd78aec02578b09506b6d67f45e;hp=942069255c74cff24f6fa55cd8d3ccd7f208056b;hpb=55f2d7cd6c290a0d26db177d54d20c393f890bbb;p=alttp.git diff --git a/app/Models/Round.php b/app/Models/Round.php index 9420692..e935010 100644 --- a/app/Models/Round.php +++ b/app/Models/Round.php @@ -17,4 +17,12 @@ class Round extends Model return $this->belongsTo(Tournament::class); } + protected $casts = [ + 'code' => 'array', + ]; + + protected $fillable = [ + 'tournament_id', + ]; + }