From 2894f377190c2ca5ad739ecf8da8e10245158ec7 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Wed, 21 Sep 2022 19:35:55 +0800 Subject: [PATCH] fix: usertype length --- db/app_uoj233.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/app_uoj233.sql b/db/app_uoj233.sql index 2f2d888..1d6bfa4 100644 --- a/db/app_uoj233.sql +++ b/db/app_uoj233.sql @@ -777,7 +777,7 @@ CREATE TABLE `user_info` ( `usergroup` char(1) NOT NULL DEFAULT 'U', `username` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL, `realname` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', - `usertype` varchar(50) NOT NULL DEFAULT 'student', + `usertype` varchar(250) NOT NULL DEFAULT 'student', `email` varchar(50) NOT NULL, `password` char(32) NOT NULL, `svn_password` char(10) NOT NULL,