该问题已被锁定!
2
关注
4606
浏览

从数据库删除数据之后,前台页面垃圾数据怎么处理?

AI智能回复搜索中,请稍后...

为什么被折叠? 0 个回复被折叠
fanta 超级管理员 用户来自于: 安徽省合肥市
2018-08-13 09:13
aws_posts_index 删除这个表中的废数据
delete from aws_posts_index where post_type = 'article' and post_id not in (select id from aws_article);
delete from aws_posts_index where post_type = 'question' and post_id not in (select question_id from aws_question);

关于作者

Draycen 注册会员

这家伙很懒,还没有设置简介

问题动态

发布时间
2018-08-13 08:47
更新时间
2018-08-13 09:13
关注人数
2 人关注

推荐内容

什么都没改怎么首页成这样了...
WeCenter没有后台数据库备份功能了?
aws_question表中的question_content_fulltext字段里的数字代表什么?如何转换过来的?
数据库中没有aws_session这张表 安装了好几次了
请官方解释一下数据库表中这些是什么东西?
如何查看【aws_】修改后的前缀
数据库迁移问题
本地localhost数据库导入错误,返回1050
user_action三张表之间的关系是怎样的?
代码传到正式网站上页面报错,怎么解决?问题如图