Skip to content

Commit

Permalink
fix(sql): enforce collation on name column (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon authored Aug 22, 2024
1 parent db3b9d0 commit 6d8fd56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qbox.sql
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ CREATE TABLE IF NOT EXISTS `players` (

ALTER TABLE `players`
ADD IF NOT EXISTS `last_logged_out` timestamp NULL DEFAULT NULL AFTER `last_updated`,
MODIFY COLUMN `citizenid` varchar(50) NOT NULL COLLATE utf8mb4_unicode_ci;
MODIFY COLUMN `name` varchar(50) NOT NULL COLLATE utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS `playerskins` (
`id` int(11) NOT NULL AUTO_INCREMENT,
Expand Down

0 comments on commit 6d8fd56

Please sign in to comment.