mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:21:10 +02:00
pgSchema was enforced in practice across every service (auth, credits, usr, events, mail, research, subscriptions, analytics) but nowhere documented as a rule. New services had to reverse-engineer the pattern from existing code, and the example in the guideline itself still used raw pgTable() — actively steering readers in the wrong direction. - New "Schema Isolation" section: the rule, the why, the naming table (service → schema), the mana_sync exception, a grep-based verification command. - Updated the "Table Definition Pattern" example to use pgSchema so readers copy the right thing. The root CLAUDE.md already links here from the "Database (PostgreSQL)" section — no change needed there. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ai-tools.md | ||
| authentication.md | ||
| code-style.md | ||
| database.md | ||
| design-ux.md | ||
| error-handling.md | ||
| expo-mobile.md | ||
| hono-server.md | ||
| sveltekit-web.md | ||
| testing.md | ||