Skip to content

Commit

Permalink
Merge pull request ppy#11895 from nanaya/team-url-length
Browse files Browse the repository at this point in the history
Add check for team url length
  • Loading branch information
notbakaneko authored Feb 20, 2025
2 parents d1c4174 + 46d16c2 commit d449b4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Models/Team.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class Team extends Model
const MAX_FIELD_LENGTHS = [
'name' => 100,
'short_name' => 4,
'url' => 255,
];

protected $casts = ['is_open' => 'bool'];
Expand Down

0 comments on commit d449b4d

Please sign in to comment.