Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-04-23 17:57:10 +00:00
parent 7cbc41b523
commit 3977f2e657
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,2 @@
ALTER TABLE public.agent_instances ADD COLUMN IF NOT EXISTS telegram_user_chat_id bigint;
COMMENT ON COLUMN public.agent_instances.telegram_user_chat_id IS 'Chat ID do Telegram do dono do agente — populado pelo telegram-webhook na primeira mensagem. Usado em TELEGRAM_ALLOWED_USERS / TELEGRAM_HOME_CHANNEL no container Hermes.';