- ALTER TABLE `cdb_ratelog`
- ADD COLUMN `point` tinyint(2) UNSIGNED NOT NULL DEFAULT 0 AFTER `score`;
- ALTER TABLE `cdb_threads`
- ADD COLUMN `point` tinyint(2) UNSIGNED NOT NULL DEFAULT 0 AFTER `rate`,
- SQLfunction request($cachekey, $fid = 0, $type = 0, $return = 0)
- ALTER TABLE `cdb_threads` ADD `imagenum` INT NOT NULL COMMENT 'nomber' AFTER `recommend_sub` ;
复制代码 上面是升级代码
出错提示- 升级错误,MySQL 提示: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SQLfunction request($cachekey, $fid = 0, $type = 0, $return = 0) ALTER TABLE `cd' at line 1 ,请返回。
复制代码 |