Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.8 KB
Raw Blame
-- Fixture for channel access request tests.
--
-- Users: owner and member participate in the private channel; outsider and
-- latecomer do not.
-- Channels: ...10 private, ...11 public, ...12 direct message.
INSERT INTO macro_user (id, username, email, stripe_customer_id) VALUES
('00000000-0000-0000-0000-000000000001', '[email protected]', '[email protected]', 'join_owner'),
('00000000-0000-0000-0000-000000000002', '[email protected]', '[email protected]', 'join_member'),
('00000000-0000-0000-0000-000000000003', '[email protected]', '[email protected]', 'join_outsider'),
('00000000-0000-0000-0000-000000000004', '[email protected]', '[email protected]', 'join_latecomer');
INSERT INTO "User" (id, email, macro_user_id) VALUES
('macro|[email protected]', '[email protected]', '00000000-0000-0000-0000-000000000001'),
('macro|[email protected]', '[email protected]', '00000000-0000-0000-0000-000000000002'),
('macro|[email protected]', '[email protected]', '00000000-0000-0000-0000-000000000003'),
('macro|[email protected]', '[email protected]', '00000000-0000-0000-0000-000000000004');
INSERT INTO comms_channels (id, name, owner_id, channel_type) VALUES
('00000000-0000-0000-0000-000000000010', 'design', 'macro|[email protected]', 'private'),
('00000000-0000-0000-0000-000000000011', 'general', 'macro|[email protected]', 'public'),
('00000000-0000-0000-0000-000000000012', NULL, 'macro|[email protected]', 'direct_message');
INSERT INTO comms_channel_participants (channel_id, user_id, role) VALUES
('00000000-0000-0000-0000-000000000010', 'macro|[email protected]', 'owner'),
('00000000-0000-0000-0000-000000000010', 'macro|[email protected]', 'member'),
('00000000-0000-0000-0000-000000000012', 'macro|[email protected]', 'owner'),
('00000000-0000-0000-0000-000000000012', 'macro|[email protected]', 'member');