Skip to content

卡路里一期·T1 schema先行:13表TS化与迁移史收敛 #20

Closed

Description

@FeatherHunter

Blocked by: 无

Question

老家scripts/db.py 688行、13表(food/exercise/weight_log、nutrition_products、workout_plans、body_photos/measurements/composition(_new/_mig/_mig三代迁移史)、user_profile/daily_goal)。输出TS schema+建表+mig收敛单线+kcal小数定点公约(check_decimal_precision对照)+tmp隔离测试(真实DB禁迁)。验收:node:sqlite建空库13表全过,migrate幂等。

范围:#14一期内;老家只读对照;面板/定时/外联动 out of scope。

Activity

  1. self-assigned this
    on Sep 6, 2026
  2. added a commit that references this issue on Sep 6, 2026
  3. FeatherHunter commented on Sep 6, 2026

    @FeatherHunter
    OwnerAuthor

    决议:分支已合 master(CI 绿)。两处偏离确认:缺 env 直接抛错、历史临时表永不建,均合 Destination 阻断线。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

wayfinder:task

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions