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.6 KB
Raw Blame
INSERT INTO
    public.macro_user (id, username, email, stripe_customer_id)
VALUES
    ('bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb'::uuid, 'testuser', '[email protected]', 'cus_test'),
    ('cccccccc-cccc-cccc-cccc-cccccccccccc'::uuid, 'testuser2', '[email protected]', 'cus_test2'),
    ('ffffffff-ffff-ffff-ffff-ffffffffffff'::uuid, 'solo', '[email protected]', 'cus_test3');

INSERT INTO
    public."User" (id, email, macro_user_id)
VALUES
    ('macro|[email protected]', '[email protected]', 'bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb'::uuid),
    ('macro|[email protected]', '[email protected]', 'cccccccc-cccc-cccc-cccc-cccccccccccc'::uuid),
    ('macro|[email protected]', '[email protected]', 'ffffffff-ffff-ffff-ffff-ffffffffffff'::uuid);

INSERT INTO
    public.github_links (id, macro_id, fusionauth_user_id, github_username, github_user_id)
VALUES
    ('aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa'::uuid, 'macro|[email protected]', 'bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb'::uuid, 'testuser', '12345'),
    ('99999999-9999-9999-9999-999999999999'::uuid, 'macro|[email protected]', 'ffffffff-ffff-ffff-ffff-ffffffffffff'::uuid, 'solo', '67890');

INSERT INTO
    public.team (id, name, owner_id)
VALUES
    ('dddddddd-dddd-dddd-dddd-dddddddddddd'::uuid, 'Team Alpha', 'macro|[email protected]'),
    ('eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee'::uuid, 'Team Beta', 'macro|[email protected]');

INSERT INTO
    public.team_user (user_id, team_id, team_role)
VALUES
    ('macro|[email protected]', 'dddddddd-dddd-dddd-dddd-dddddddddddd'::uuid, 'owner'),
    ('macro|[email protected]', 'eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee'::uuid, 'owner');