//将文章模型的文档插入到新模型中。 INSERT INTO dede_addon17(aid,typeid,redirecturl,userip,body) SELECT aid,typeid,redirecturl,userip,body FROM dede_addonarticle where dede_addonarticle.typeid =2 //删除原来的文章 delete * from dede_addonarticle where typeid =2 |
update dede_arctiny set channel=1 where typeid=2 update dede_archives set channel=1 where typeid=2 update dede_arctype set channeltype =1 where id =2 |