去评论
dz插件网

升级程序让我手工运行SQL New

饾暦饾枎饾枒饾枏饾枂饾枅饾枑
2023/11/28 15:27:11
运行提示错误#1060 - Duplicate column name 'repid'
但是刷新页面升级页面,又提示升级成功继续了下一步升级 我现在需要怎么做啊
  1. ALTER TABLE pre_forum_post CHANGE `pid` `pid` int(10) unsigned NOT NULL, CHANGE `fid` `fid` mediumint(8) unsigned NOT NULL DEFAULT '0', CHANGE `tid` `tid` int(10) unsigned NOT NULL DEFAULT '0', ADD `repid` int(10) unsigned NOT NULL DEFAULT '0' AFTER `tid`, CHANGE `authorid` `authorid` mediumint(8) unsigned NOT NULL DEFAULT '0', CHANGE `subject` `subject` varchar(255) NOT NULL DEFAULT '', CHANGE `dateline` `dateline` int(10) unsigned NOT NULL DEFAULT '0', ADD `lastupdate` int(10) unsigned NOT NULL DEFAULT '0' AFTER `dateline`, ADD `updateuid` mediumint(8) unsigned NOT NULL DEFAULT '0' AFTER `lastupdate`, ADD `premsg` text NOT NULL AFTER `updateuid`, CHANGE `useip` `useip` varchar(45) NOT NULL DEFAULT '', CHANGE `port` `port` smallint(6) unsigned NOT NULL DEFAULT '0', CHANGE `rate` `rate` smallint(6) NOT NULL DEFAULT '0', CHANGE `ratetimes` `ratetimes` tinyint(3) unsigned NOT NULL DEFAULT '0', CHANGE `status` `status` int(10) NOT NULL DEFAULT '0', CHANGE `replycredit` `replycredit` int(10) NOT NULL DEFAULT '0', CHANGE `position` `position` int(10) unsigned NOT NULL
我知道答案 回答被采纳将会获得1 贡献 已有2人回答