# Den DB credentials.
#
# Local use: copy this file to .env.local (gitignored) and fill in the values.
# CI use: the .github/workflows/den-db-migrate.yml workflow reads GitHub
# Actions secrets with the SAME names (Settings -> Secrets and variables ->
# Actions): DATABASE_HOST, DATABASE_USERNAME, DATABASE_PASSWORD.

# MySQL mode: if DATABASE_URL is set, den-db uses mysql/mysql2.
DATABASE_URL=

# Required dedicated DB encryption key for encrypted columns. Minimum 32 chars.
# Generate one with: openssl rand -base64 128
DEN_DB_ENCRYPTION_KEY=

# PlanetScale mode: used when DATABASE_URL is not set.
# Values come from a PlanetScale password for the production branch.
DATABASE_HOST=
DATABASE_USERNAME=
DATABASE_PASSWORD=

# Optional explicit env file path for Drizzle commands.
# OPENWORK_DEN_DB_ENV_PATH=/absolute/path/to/.env.production
