Prisma · Schema

DirectConnection

Direct TCP connection details for the database

Properties

Name Type Description
host string Database host address
port integer Database port number
username string Database username
password string Database password
database string Database name
View JSON Schema on GitHub

JSON Schema

prisma-directconnection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DirectConnection",
  "title": "DirectConnection",
  "type": "object",
  "description": "Direct TCP connection details for the database",
  "properties": {
    "host": {
      "type": "string",
      "description": "Database host address"
    },
    "port": {
      "type": "integer",
      "description": "Database port number",
      "default": 5432
    },
    "username": {
      "type": "string",
      "description": "Database username"
    },
    "password": {
      "type": "string",
      "description": "Database password"
    },
    "database": {
      "type": "string",
      "description": "Database name"
    }
  },
  "required": [
    "host",
    "port",
    "username",
    "password",
    "database"
  ]
}