syntaxis/config/api/features/database.toml.template
Jesús Pérez 9cef9b8d57 refactor: consolidate configuration directories
Merge _configs/ into config/ for single configuration directory.
Update all path references.

Changes:
- Move _configs/* to config/
- Update .gitignore for new patterns
- No code references to _configs/ found

Impact: -1 root directory (layout_conventions.md compliance)
2025-12-26 18:36:23 +00:00

25 lines
927 B
Plaintext

# Database Feature Configuration
#
# This configuration controls database migrations and connection pooling.
# This file is loaded ONLY if [server.features.database].enabled = true in the main config.
# (The enabled flag is set in the main lifecycle-api-config.toml file)
[database]
# Path to directory containing SQL migration files
# Migrations should be named with timestamps: YYYYMMDD_HHmmss_description.sql
# Can be absolute or relative to the config file location
migrations_path = "./migrations"
# Enable automatic migrations on server startup
# When true: pending migrations are automatically applied when the server starts
# When false: migrations must be run manually via CLI command
auto_migrate = true
# Connection pool size (number of concurrent database connections)
# Recommended: 10 for development, 20-50 for production
connection_pool_size = 10
# Enable query logging (for debugging)
log_queries = false