]> git.localhorst.tv Git - alttp.git/blobdiff - app/Models/Round.php
display seed code
[alttp.git] / app / Models / Round.php
index 3b84c554e3e6320b2290c8b751930bef0d7ea69e..e93501079aa3ca183cac26ad7c455bff48422a67 100644 (file)
@@ -17,6 +17,10 @@ class Round extends Model
                return $this->belongsTo(Tournament::class);
        }
 
+       protected $casts = [
+               'code' => 'array',
+       ];
+
        protected $fillable = [
                'tournament_id',
        ];