文章的表是addonarticle
新的模型表是 dede_addon
id是栏目id
INSERT INTO dede_addon(aid,typeid,redirecturl,userip,body) SELECT aid,typeid,redirecturl,userip,body FROM dede_addonarticle where dede_addonarticle.typeid =id
更新文章对应的栏目
update dede_arctiny set channel=channel where typeid=id
update dede_archives set channel=channel where typeid=id
update dede_arctype set channeltype =channel where id =id
转载于:https://blog.51cto.com/realwisdom/1609966