Error
(psycopg2.errors.UndefinedColumn) column "article_type" does not exist
LINE 3: WHERE article_type = 'trending_report'
^
HINT: Perhaps you meant to reference the column "content_article.article_types".
[SQL:
SELECT 1 FROM content_article
WHERE article_type = %(atype)s
AND display_category_slug = %(cat)s
AND created_at >= now() - interval '14 days'
LIMIT 1
]
[parameters: {'atype': 'trending_report', 'cat': 'kitchen-dining'}]
(Background on this error at: https://sqlalche.me/e/20/f405)
Log Output
11:13:20 | INFO | 任务 [聚合信号 → hotspot_boost/social_viral_score] 执行成功, 耗时 2.7s
11:13:21 | ERROR | 任务 [热点信号自动派发 → 触发文章生成] 执行失败: (psycopg2.errors.UndefinedColumn) column "article_type" does not exist
LINE 3: WHERE article_type = 'trending_report'
^
HINT: Perhaps you meant to reference the column "content_article.article_types".
[SQL:
SELECT 1 FROM content_article
WHERE article_type = %(atype)s
AND display_category_slug = %(cat)s
AND created_at >= now() - interval '14 days'
LIMIT 1
]
[parameters: {'atype': 'trending_report', 'cat': 'kitchen-dining'}]
(Background on this error at: https://sqlalche.me/e/20/f405)