Fixes rank being a reserved SQL keyword (#15661)

This commit is contained in:
AffectedArc07
2021-03-04 18:50:36 +00:00
committed by GitHub
parent 091146029a
commit fd79e342a8
9 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ DROP TABLE IF EXISTS `admin`;
CREATE TABLE `admin` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ckey` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
`rank` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Administrator',
`admin_rank` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Administrator',
`level` int(2) NOT NULL DEFAULT '0',
`flags` int(16) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),