Skip to main content
When your coding agent defines postgres blocks in specific.hcl, Specific automatically provisions a managed, serverless PostgreSQL database with automatic scaling.
postgres "main" {}
  • Connection credentials are auto-injected into services that reference the database (e.g., postgres.main.url)
  • Use pre_deploy hooks for database migrations to ensure the schema is updated before new code starts
  • Databases are created once and reused across deployments — your data is never deleted during a redeploy