Databasegateway

Give your agent a managed Postgres database

Managed Postgres. SQL, CRUD, and migrations on the app it shipped.

acme-web / dbschema
users
  • PK NNiduuid
  • AK NNemailtext
  • NNnametext
  • NNcreated_attimestamptz
api_keys
  • PK NNiduuid
  • FK NNuser_iduuid
  • NNkey_hashtext
  • NNscopestext[]
  • last_usedtimestamptz
  • expires_attimestamptz
workspaces
  • PK NNiduuid
  • AK NNslugtext
  • NNnametext
  • NNplantext
  • FK NNowner_iduuid
  • NNseatsint
  • billing_emailtext
  • NNcreated_attimestamptz
  • updated_attimestamptz
  • archivedboolean
projects
  • PK NNiduuid
  • FK NNworkspace_iduuid
  • NNnametext
  • repotext
  • NNdefault_branchtext
  • FK NNregion_iduuid
  • frameworktext
  • NNcreated_attimestamptz
  • updated_attimestamptz
members
  • PF NNuser_iduuid
  • PF NNworkspace_iduuid
  • NNroletext
deploys
  • PK NNiduuid
  • FK NNapp_iduuid
  • FK NNenv_iduuid
  • NNstatusdeploy_status
envs
  • PK NNiduuid
  • FK NNproject_iduuid
  • NNnametext
  • urltext
regions
  • PK NNiduuid
  • AK NNcodetext
  • FK NNprovider_iduuid
  • NNactiveboolean
apps
  • PK NNiduuid
  • AK NNslugtext
  • NNnametext
  • FK NNproject_iduuid
  • FK NNruntime_iduuid
  • frameworktext
  • git_shachar(40)
  • domaintext
  • build_cmdtext
  • start_cmdtext
  • env_varsjsonb
  • NNstatusdeploy_status
  • versionsemver
  • NNcreated_attimestamptz
  • updated_attimestamptz
runtimes
  • PK NNiduuid
  • NNnametext
  • NNversionsemver
providers
  • PK NNiduuid
  • NNnametext
  • NNregion_codetext
DOMAIN
ENUM

Paste and ship

Drop this into Claude Code, Codex, or Cursor. It reads the docs and wires up Database for you.

Agent prompt
Read https://vetta.sh/docs/capabilities/files and use the naïve Database primitive in my project. It is part of the gateway layer; wire it through naive.config.ts rather than calling a vendor directly.

Related primitives

Apps

gateway

Ship a Next.js app to a real URL with Postgres, auth, and storage included.

Storage

gateway

File buckets on the app the agent deployed.

Functions

gateway

Backend logic on the edge. No second platform.