diff --git a/generic.md b/generic.md index f9a65ff..2be58dc 100644 --- a/generic.md +++ b/generic.md @@ -182,6 +182,7 @@ Default for any app with a central data store. - Migrations via `sqlx-cli` or `refinery`; migration files live in `crates/-data/migrations/`. - Schema changes are forward-only in production. Destructive migrations require a dedicated maintenance window and an explicit plan. - Use `sqlx` with compile-time query checking (`sqlx prepare`) and commit the generated `.sqlx/` offline query cache so CI builds don't need a live database. +- **Agentic contributors working in a project with a Postgres dependency will usually have MCP access to a Postgres MCP server scoped to that project's database(s).** Prefer using the MCP server to inspect schema, verify query shapes against real tables, and sanity-check migrations before applying them — don't guess at column names or types when you can look them up. The scope is limited to the project's own databases; don't assume access to unrelated ones. ### Distributed database: Turso When the app's data model is distributed (edge replicas, per-site local copies with sync), use Turso. Auth via Turso-issued tokens stored in the per-host secret store, not in `manifest.yml`.