managarten/services/mana-auth/src
Till JS 3ea28b9065 refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync)
Mirrors the frontend unification (single IndexedDB) on the backend.
All services now use pgSchema() for isolation within one shared database,
enabling cross-schema JOINs, simplified ops, and zero DB setup for new apps.

- Migrate 7 services from pgTable() to pgSchema(): mana-user (usr),
  mana-media (media), todo, traces, presi, uload, cards
- Update all DATABASE_URLs in .env.development, docker-compose, configs
- Rewrite init-db scripts for 2 databases + 12 schemas
- Rewrite setup-databases.sh for consolidated architecture
- Update shared-drizzle-config default to mana_platform
- Update CLAUDE.md with new database architecture docs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 14:31:28 +02:00
..
auth feat(infra): Phase 5 — consolidate to single web container 2026-04-01 21:17:38 +02:00
db feat(auth): add access tier system for phased app releases 2026-03-30 21:50:06 +02:00
email feat(services): create mana-auth (Hono + Bun) — Phase 5 auth rewrite 2026-03-28 02:43:44 +01:00
lib feat(services): create mana-auth (Hono + Bun) — Phase 5 auth rewrite 2026-03-28 02:43:44 +01:00
middleware feat(services): create mana-auth (Hono + Bun) — Phase 5 auth rewrite 2026-03-28 02:43:44 +01:00
routes feat(todo/web, shared-i18n): complete i18n for Todo web app + add missing common translations 2026-04-01 14:19:48 +02:00
services feat(todo/web, shared-i18n): complete i18n for Todo web app + add missing common translations 2026-04-01 14:19:48 +02:00
config.ts refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
index.ts feat(todo/web, shared-i18n): complete i18n for Todo web app + add missing common translations 2026-04-01 14:19:48 +02:00