docs: БД clinic_tests + hr_bot_test, staff_id, RBAC, telegram_id справка

Made-with: Cursor
This commit is contained in:
Константин Лебединский
2026-04-24 20:23:59 +05:00
parent 675555531f
commit 7fa6f98ee1
7 changed files with 41 additions and 9 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
# Как в HR_TG_Bot: тот же Postgres из Postgres_TG_Bots (docker-compose.dev.yml),
# отдельная база clinic_tests — таблицы приложения не смешиваются с hr_bot_test.
# отдельная база clinic_tests — таблицы приложения не смешиваются с hr_bot_test
# (связь с штатом по staff_members.id; чтение hr_bot_test — отдельный DSN в коде, см. card1 A.x).
# telegram_id в бизнес-логике модуля не используем (только справка в HR).
#
# Локально (порт 5432 на хосте, как в Postgres_TG_Bots):
# DATABASE_URL=postgresql://hr_bot_user:hrbot123@localhost:5432/clinic_tests