Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
split them up
synoet040c4653595a
diff --git a/rust/cloud-storage/macro_db_client/migrations/20260212120000_idx_comms_messages_channel_toplevel_cursor.sql b/rust/cloud-storage/macro_db_client/migrations/20260212120000_idx_comms_messages_channel_toplevel_cursor.sqlnew file mode 100644index 0000000000..1f102f750c--- /dev/null+++ b/rust/cloud-storage/macro_db_client/migrations/20260212120000_idx_comms_messages_channel_toplevel_cursor.sql@@ -0,0 +1,5 @@+-- no-transaction++CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_comms_messages_channel_toplevel_cursor+ ON public.comms_messages (channel_id, created_at DESC, id DESC)+ WHERE thread_id IS NULL;diff --git a/rust/cloud-storage/macro_db_client/migrations/20260212120001_idx_comms_messages_thread_active_created.sql b/rust/cloud-storage/macro_db_client/migrations/20260212120001_idx_comms_messages_thread_active_created.sqlnew file mode 100644index 0000000000..27c8c43a18--- /dev/null+++ b/rust/cloud-storage/macro_db_client/migrations/20260212120001_idx_comms_messages_thread_active_created.sql@@ -0,0 +1,5 @@+-- no-transaction++CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_comms_messages_thread_active_created+ ON public.comms_messages (thread_id, created_at DESC)+ WHERE thread_id IS NOT NULL AND deleted_at IS NULL;diff --git a/rust/cloud-storage/macro_db_client/migrations/20260212120002_idx_comms_attachments_channel_cursor.sql b/rust/cloud-storage/macro_db_client/migrations/20260212120002_idx_comms_attachments_channel_cursor.sqlnew file mode 100644index 0000000000..76b168e693--- /dev/null+++ b/rust/cloud-storage/macro_db_client/migrations/20260212120002_idx_comms_attachments_channel_cursor.sql@@ -0,0 +1,4 @@+-- no-transaction++CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_comms_attachments_channel_cursor+ ON public.comms_attachments (channel_id, created_at DESC, id DESC);