mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 17:44:03 +00:00
feat(db): enforce runtime RLS boundaries
This commit is contained in:
@@ -4,7 +4,12 @@ LOG_LEVEL=info
|
||||
PORT=3000
|
||||
|
||||
# Database
|
||||
# Owner connection for migrations, seed, and schema checks only
|
||||
DATABASE_URL=postgres://postgres:postgres@127.0.0.1:54322/postgres
|
||||
# Runtime connection used by mini app and authenticated user-triggered API flows
|
||||
APP_DATABASE_URL=postgres://housebot_app:housebot_app@127.0.0.1:54322/postgres
|
||||
# Runtime connection used by bot ingestion, reminders, schedulers, and other worker flows
|
||||
WORKER_DATABASE_URL=postgres://housebot_worker:housebot_worker@127.0.0.1:54322/postgres
|
||||
DB_SCHEMA=public
|
||||
|
||||
# Telegram
|
||||
|
||||
Reference in New Issue
Block a user