postgres blocks in specific.hcl, Specific automatically provisions a managed, serverless PostgreSQL database with automatic scaling.
- Connection credentials are auto-injected into services that reference the database (e.g.,
postgres.main.url) - Use
pre_deployhooks 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