Limit username field to 5 characters

This commit is contained in:
Minz committed 2022-04-24 01:43:55 +02:00
1 parent 58acd2db4f
commit 60d78bcdac
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ USE `scoreboard`;
-- Dumping structure for table scoreboard.scores
CREATE TABLE IF NOT EXISTS `scores` (
`username` varchar(50) NOT NULL,
`username` varchar(5) NOT NULL,
`score` int NOT NULL,
`createdAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`additional_data` json DEFAULT NULL