diff --git a/db/update9.5.1.sql b/db/update9.5.1.sql index e8021f50e2..2a74dd470b 100644 --- a/db/update9.5.1.sql +++ b/db/update9.5.1.sql @@ -44,15 +44,16 @@ ALTER TABLE `zt_user` ADD `score_level` DECIMAL(12,1) NOT NULL DEFAULT '0' AF CREATE TABLE `zt_score` ( `id` bigint(12) unsigned NOT NULL AUTO_INCREMENT, - `userID` int(11) NOT NULL DEFAULT '0', `account` varchar(30) NOT NULL, `model` varchar(30) NOT NULL, `method` varchar(30) NOT NULL, + `desc` varchar(250) NOT NULL DEFAULT '', + `before` decimal(12,1) NOT NULL DEFAULT '0.0', `score` decimal(12,1) NOT NULL DEFAULT '0.0', - `type` enum('repeat','one') NOT NULL DEFAULT 'repeat', + `after` decimal(12,1) NOT NULL DEFAULT '0.0', `time` datetime NOT NULL, PRIMARY KEY (`id`), KEY `account` (`account`), - KEY `model` (`model`), - KEY `method` (`method`) + KEY `method` (`method`), + KEY `model` (`model`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; \ No newline at end of file