Files

6 lines
757 B
Markdown

# Migrations
Django migrations are stored per app under `main/<app>/migrations/`. Current working tree heads include `planner/0025`, `food/0024`, `recipes/0007`, `groceries/0003`, `home_assistant/0004`, `stress/0002`, and `dreams/0001`. Some heads are untracked in Git at this audit; deployment state may differ. `food` contains two migrations numbered `0017` with different names. Check their dependencies and run `showmigrations` and `makemigrations --check` before schema work; do not infer ordering from filenames.
Several migrations backfill or preserve data, including food package quantities, hydration contributions, API UUIDs and task ownership/completion. Avoid editing applied migrations; add new migrations after validating the current graph.