Refactored db logic. Can now specify schema in config
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
|
||||
database:
|
||||
url: "sqlite+aiosqlite:///alpinebits.db" # For local dev, use SQLite. For prod, override with PostgreSQL URL.
|
||||
# url: "postgresql://user:password@host:port/dbname" # Example for Postgres
|
||||
# url: "postgresql+asyncpg://user:password@host:port/dbname" # Example for Postgres
|
||||
# schema: "alpinebits" # Optional: PostgreSQL schema name (default: public)
|
||||
|
||||
# AlpineBits Python config
|
||||
# Use annotatedyaml for secrets and environment-specific overrides
|
||||
|
||||
Reference in New Issue
Block a user