update pre_forum_attachment_0 set remote=1 where remote=0;update pre_forum_attachment_1 set remote=1 where remote=0;update pre_forum_attachment_2 set remote=1 where remote=0;update pre_forum_attachment_3 set remote=1 where remote=0;update pre_forum_attachment_4 set remote=1 where remote=0;update pre_forum_attachment_5 set remote=1 where remote=0;update pre_forum_attachment_6 set remote=1 where remote=0;update pre_forum_attachment_7 set remote=1 where remote=0;update pre_forum_attachment_8 set remote=1 where remote=0;update pre_forum_attachment_9 set remote=1 where remote=0;
复制代码
门户的
update pre_portal_article_title set remote=1 where remote=0;update pre_portal_attachment set remote=1 where remote=0;update pre_portal_topic_pic set remote=1 where remote=0;
复制代码
相册的{相册表中的remote取值还有一种情况为remote=2(论坛附件图片保存到相册)}
update pre_home_pic set remote=1 where remote=0;update pre_home_pic set remote=3 where remote=2;
update pre_forum_attachment_0 set remote=0 where remote=1;update pre_forum_attachment_1 set remote=0 where remote=1;update pre_forum_attachment_2 set remote=0 where remote=1;update pre_forum_attachment_3 set remote=0 where remote=1;update pre_forum_attachment_4 set remote=0 where remote=1;update pre_forum_attachment_5 set remote=0 where remote=1;update pre_forum_attachment_6 set remote=0 where remote=1;update pre_forum_attachment_7 set remote=0 where remote=1;update pre_forum_attachment_8 set remote=0 where remote=1;update pre_forum_attachment_9 set remote=0 where remote=1;update pre_portal_article_title set remote=0 where remote=1;update pre_portal_attachment set remote=0 where remote=1;update pre_portal_topic_pic set remote=0 where remote=1;update pre_home_pic set remote=0 where remote=1;update pre_home_pic set remote=2 where remote=3;