1 Commits

Author SHA1 Message Date
cproudlock
c095270d06 Make the core migration chain reproduce the full bundled schema
Deploys run `flask db upgrade` (core chain) only. The core chain reproduced
everything except modelsupplies + the computer make/model and installed-app
version columns, which lived only in per-plugin migrations the deploy never
runs. Migration 7c04 folds those into the core chain (idempotent).

Verified: a fresh `flask db upgrade` on an empty database produces a schema
identical to the live DB (zero table/column diffs). Also dropped two unused
appversions audit columns (create_all drift) and the empty orphaned
alembic_version_* plugin tracker tables so live matches a fresh deploy exactly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 12:19:40 -04:00