wordeck/apps
Till JS 90816de934
Some checks are pending
CI / validate (push) Waiting to run
feat(api): Auto-Apply von Drizzle-Migrations beim Boot
Folge-Adoption nach Pageta (mana/docs/playbooks/MIGRATIONS_BOOTSTRAP.md).
Versionierte Migrations lagen schon im Repo (src/db/migrations/), aber
ohne Auto-Apply-Hook würde ein Volume-Reset die DB schema-leer lassen
und Container-Restart liefe dann auf 500er gegen fehlende Tabellen.

- src/db/migrate.ts (runMigrations-Helper mit onnotice-Suppress)
- src/index.ts top-level-await Hook hinter _RUN_MIGRATIONS
- infrastructure/docker-compose.production.yml: _RUN_MIGRATIONS='true'

Idempotent über drizzle.__drizzle_migrations.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 14:30:06 +02:00
..
api feat(api): Auto-Apply von Drizzle-Migrations beim Boot 2026-05-20 14:30:06 +02:00
web fix(web): prerender /offline für Workbox-Precache 2026-05-20 14:11:58 +02:00