managarten/.claude
Till JS dd756c4664 docs(database): document the pgSchema isolation rule
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>
2026-04-19 19:47:37 +02:00
..
guidelines docs(database): document the pgSchema isolation rule 2026-04-19 19:47:37 +02:00
plans refactor: rename zitare -> quotes (Zitate) 2026-04-14 20:59:16 +02:00
GUIDELINES.md docs(ai-tools): add how-to guide for wiring module tools to the AI agent 2026-04-19 19:15:57 +02:00
scheduled_tasks.lock chore: update scheduled tasks lock 2026-04-16 16:36:33 +02:00