Проектные каналы Slack и huddle: project_channel, режим проектного канала, промт, спецификация ассистента CEO
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 1m43s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-15 19:16:19 +03:00
parent 9e4b039e5e
commit 777c23f4b0
12 changed files with 228 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
-- Проектные каналы Slack: канал привязан к проекту (объекту стройки) JobTread, поэтому проект в общении не уточняется.
create table if not exists project_channel (
channel_id text primary key,
jt_job_id text not null,
channel_name text,
is_enabled boolean not null default true,
note text,
created_at timestamptz not null default now()
);
create index if not exists project_channel_job_idx on project_channel (jt_job_id);
alter table project_channel enable row level security;