wordeck/apps/api
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
..
scripts db(cards): baseline migration + drizzle-tracking bootstrap script 2026-05-12 18:53:52 +02:00
src feat(api): Auto-Apply von Drizzle-Migrations beim Boot 2026-05-20 14:30:06 +02:00
tests refactor(big-bang): cards → wordeck im gesamten Code-Layer 2026-05-17 22:39:42 +02:00
Dockerfile fix(dockerfiles): packages/cards-domain → wordeck-domain 2026-05-17 22:40:31 +02:00
drizzle.config.ts Phase 12 R0+R1: Marketplace-Restore-Plan + Schema in marketplace-pgSchema 2026-05-09 15:05:22 +02:00
package.json refactor(big-bang): cards → wordeck im gesamten Code-Layer 2026-05-17 22:39:42 +02:00
tsconfig.json Phase 3 follow-up: type-check + tests grün, ts-fsrs v5 API 2026-05-08 14:41:04 +02:00
vitest.config.ts security(cards): fail-secure dev-stub, headers, rate-limit, dsgvo audit 2026-05-12 16:56:03 +02:00