]> git.localhorst.tv Git - alttp.git/blobdiff - app/Models/Round.php
add user stream links
[alttp.git] / app / Models / Round.php
index 942069255c74cff24f6fa55cd8d3ccd7f208056b..927307c2a7d5dc151b0485a36343134b457f151a 100644 (file)
@@ -17,4 +17,13 @@ class Round extends Model
                return $this->belongsTo(Tournament::class);
        }
 
+       protected $casts = [
+               'code' => 'array',
+       ];
+
+       protected $fillable = [
+               'number',
+               'tournament_id',
+       ];
+
 }