* [misc] Change enum field data types to char.

This commit is contained in:
liugang
2025-12-05 09:26:30 +08:00
parent 3cfbb42c8c
commit d445185489
+1 -1
View File
@@ -2393,7 +2393,7 @@ CREATE TABLE IF NOT EXISTS `zt_user` (
`commiter` varchar(100) NOT NULL DEFAULT '',
`avatar` text NULL,
`birthday` date NULL,
`gender` enum('f','m') NOT NULL DEFAULT 'f',
`gender` char(1) NOT NULL DEFAULT 'f',
`email` char(90) NOT NULL DEFAULT '',
`skype` char(90) NOT NULL DEFAULT '',
`qq` char(20) NOT NULL DEFAULT '',