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