]> git.localhorst.tv Git - alttp.git/blobdiff - app/Models/Participant.php
tournament admins
[alttp.git] / app / Models / Participant.php
index c2a8d8ab861525c1bdedfa7b75a1e420613e5d80..8aac88ce54a04877ecefe43c6f67950ec0d09c63 100644 (file)
@@ -17,6 +17,10 @@ class Participant extends Model
                return $this->belongsTo(User::class);
        }
 
+       protected $casts = [
+               'roles' => 'array',
+       ];
+
        protected $with = [
                'user',
        ];