paper_server/apps/resm/migrations
caoqianming c5636b5131 feat(resm): 期刊/关键词监控 PaperMonitor + 移除每日增量周期任务
- 新增 PaperMonitor model(type=journal/search/keyword、value、name、note、is_active、days、last_run、last_count)+ admin 管理
- 新增 monitor_papers 任务:遍历启用监控,journal→primary_location.source.issn / search→title_and_abstract / keyword→keywords.id,复用 _crawl_openalex_query 入库去重,每天 05:00 调度
- 迁移 0008 建表;0009 种子(8 本无机非金属材料期刊 + 5 英文方向词,note=无机非金属材料)并注册监控周期任务
- 移除 0007:update_paper_meta_from_openalex/elsevier 不再注册为每日周期任务(只需一次性回补,用 backfill_paper_meta_from_openalex);两任务函数保留供手动/回补调用

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 23:43:58 +08:00
..
0001_initial.py feat: 添加resm app 2026-01-23 10:37:41 +08:00
0002_paper_has_abstract_xml_paper_has_fulltext_pdf_and_more.py feat: 添加o_keywords 字段 2026-01-28 10:26:41 +08:00
0003_paper_o_keywords.py feat: 添加o_keywords 字段 2026-01-28 10:26:41 +08:00
0004_alter_paper_fail_reason.py feat: 同步数据库 2026-01-28 16:26:30 +08:00
0005_alter_paper_fetch_status.py feat: 优化fetch_status 2026-01-30 10:37:29 +08:00
0006_pg_trgm_index.py feat: paper list 加 pdf_url / xml_url 直链字段 + pg_trgm GIN 索引 2026-05-21 13:48:52 +08:00
0008_papermonitor.py feat(resm): 期刊/关键词监控 PaperMonitor + 移除每日增量周期任务 2026-06-21 23:43:58 +08:00
0009_seed_monitors_and_schedule.py feat(resm): 期刊/关键词监控 PaperMonitor + 移除每日增量周期任务 2026-06-21 23:43:58 +08:00
__init__.py feat: 添加resm app 2026-01-23 10:37:41 +08:00