mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-05 01:08:50 +01:00
The applier hardcoded kivvi's packages/database/drizzle path, so every other
drizzle app silently skipped the schema step ('no drizzle dir — skipping') and
deploys shipped code without schema — the exact drift the step exists to
prevent. Now probes known layouts (kivvi monorepo, root-app drizzle/,
revamp-info's src/lib/db/migrations) and deploy.sh passes APP_DIR.
With vitareba + petvity baselines landing alongside, all six drizzle apps
(kivvi, surf-your-life, revamp-info, vitareba, petvity + future) get guarded
forward-only auto-migrations on every deploy, both deploy paths (manual +
push-deploy hook).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>