wordeck/apps/api/src
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
..
db feat(api): Auto-Apply von Drizzle-Migrations beim Boot 2026-05-20 14:30:06 +02:00
lib refactor(big-bang): cards → wordeck im gesamten Code-Layer 2026-05-17 22:39:42 +02:00
middleware feat(aura): onboarding.first_use (+25) hook in JWT-Branch 2026-05-18 12:52:29 +02:00
routes refactor(big-bang): cards → wordeck im gesamten Code-Layer 2026-05-17 22:39:42 +02:00
services fix(marketplace): credits-client camelCase + grant() + referenceId 2026-05-19 00:11:05 +02:00
share-handlers refactor(big-bang): cards → wordeck im gesamten Code-Layer 2026-05-17 22:39:42 +02:00
index.ts feat(api): Auto-Apply von Drizzle-Migrations beim Boot 2026-05-20 14:30:06 +02:00