pgschema supports loading configuration from environment variables and dotenv .env files.
Overview
pgschema automatically loads configuration from:.envfile in the current directory (if present)- System environment variables
- Command-line flags (highest priority)
Supported Environment Variables
pgschema supports all standard PostgreSQL environment variables:SSL mode for database connection. Valid values:
disable, allow, prefer, require, verify-ca, verify-full.env Setup
Create a.env file in your project directory:
.env to your .gitignore file to prevent committing sensitive credentials:

