Дмитрий
|
a05b09a025
|
schema(v8.4)+docs(narrative): §7 + outbound_webhook_* DDL
schema.sql v8.3 → v8.4 (закрывает тех-долг §19.10):
- +outbound_webhook_subscriptions (15 полей: target_url, secret_hash,
secret_prefix, events JSONB, custom_headers, is_active, paused_at,
consecutive_failures, …) + 2 индекса
- +outbound_webhook_deliveries (16 полей с retry-флоу: attempt_number 1-7,
status pending/success/failed/permanently_failed, scheduled_at,
next_retry_at, response_body, …) + 3 индекса
- +RLS-политики tenant_isolation для обеих таблиц
- Шапка обновлена: 51→53 таблицы, 81→86 индексов, 31→33 RLS,
32→34 ENABLE RLS
db/CHANGELOG_schema.md: новая запись §Z (v8.3 → v8.4) с обоснованием,
сводной таблицей, описанием новых таблиц/индексов, разъяснением что
crm_connections/crm_field_mappings отложены до спринта 14-15 (amoCRM).
narrative §7: синхронизация с фактическим schema.sql v8.4.
- §7.1: метрики обновлены (53/12/86/33/34), карта таблиц расширена
до полного списка (включая ранее отсутствовавшие
tenant_custom_domains, user_recovery_codes, user_sessions,
project_suppliers, project_limit_adjustments, incidents_log,
report_jobs, document_sequences, outbound_webhook_*)
- §7.3: DDL deals — удалены reminder_text/reminder_at/idx_deals_reminder
(синхронизация с v8.3, партия 12.2.5). Добавлены DDL reminders v8.3,
outbound_webhook_subscriptions, outbound_webhook_deliveries
Шапка narrative: блок «Что нового в v8.4» обновлён (+§7).
План v8.4: 8/13 ✅ (было 7/13). cspell-words.txt: +воркер, +деплой формы.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-06 17:35:18 +07:00 |
|