Business operating system for Claude Code — 57 skills, 21 agents, smart daemon. Unified inbox (WhatsApp/Email/Slack/Telegram), autonomous PR merge, full-AWS monitoring, revenue (Stripe+RevenueCat), e-commerce (Shopify), marketing (Klaviyo/Meta/GA4), voice (Bland/ElevenLabs), APM (Datadog/NewRelic/OTEL), YOLO mode.
Shell agent-teamsai-agentai-automationanthropicautonomous-agentawsbusiness-operationsclaudeclaude-codeclaude-code-plugindevopsecommerceinbox-zeroklaviyomarketingmcpmorning-briefingpr-automationshopifyterminal
fix(whatsapp-bridge-migrate): guard FTS triggers against NULL/empty content
auroracapital67e2ab948d2b
diff --git a/claude-ops/scripts/whatsapp-bridge-migrate.sh b/claude-ops/scripts/whatsapp-bridge-migrate.shindex 06b17529..83ed9243 100755--- a/claude-ops/scripts/whatsapp-bridge-migrate.sh+++ b/claude-ops/scripts/whatsapp-bridge-migrate.sh@@ -84,14 +84,18 @@ FTS_EXISTS=$(query_sql "SELECT COUNT(*) FROM sqlite_master WHERE type='table' ANif [[ "$FTS_EXISTS" == "1" ]]; thenlog " Ensuring FTS sync triggers..."run_sql "CREATE TRIGGER IF NOT EXISTS messages_fts_insert- AFTER INSERT ON messages BEGIN+ AFTER INSERT ON messages+ WHEN new.content IS NOT NULL AND new.content != ''+ BEGININSERT INTO messages_fts(rowid, content) VALUES (new.rowid, new.content);END;"run_sql "CREATE TRIGGER IF NOT EXISTS messages_fts_updateAFTER UPDATE ON messages BEGININSERT INTO messages_fts(messages_fts, rowid, content) VALUES ('delete', old.rowid, old.content);- INSERT INTO messages_fts(rowid, content) VALUES (new.rowid, new.content);+ INSERT INTO messages_fts(rowid, content)+ SELECT new.rowid, new.content+ WHERE new.content IS NOT NULL AND new.content != '';END;"run_sql "CREATE TRIGGER IF NOT EXISTS messages_fts_delete