Проектные каналы Slack и huddle: project_channel, режим проектного канала, промт, спецификация ассистента CEO
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
11
packages/khb_common/migrations/013_project_channel.sql
Normal file
11
packages/khb_common/migrations/013_project_channel.sql
Normal 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;
|
||||
Reference in New Issue
Block a user