DX 2.0 RC本地附件与远程附件转换的SQL语句

WebWriter · 2011-09-13 17:57· 阅读1

批量执行以下SQL语句,哪里执行你知道的吧:1.dz后台、 2.phpmyadmin
update pre_forum_attachment_0 set remote=1;
update pre_forum_attachment_1 set remote=1;
update pre_forum_attachment_2 set remote=1;
update pre_forum_attachment_3 set remote=1;
update pre_forum_attachment_4 set remote=1;
update pre_forum_attachment_5 set remote=1;
update pre_forum_attachment_6 set remote=1;
update pre_forum_attachment_7 set remote=1;
update pre_forum_attachment_8 set remote=1;
update pre_forum_attachment_9 set remote=1;
update pre_forum_attachment set remote=1;
update pre_portal_article_title set remote=1;
update pre_portal_attachment set remote=1;
update pre_portal_topic_pic set remote=1;
update pre_home_pic set remote=remote+1;
update pre_home_pic set remote=1;
好了 你可以去看看了 是不是所有的图片链接都变化了

评论0 条

还没有评论。
登录后可以评论。