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.9 KB
Raw Blame
INSERT INTO public."macro_user" ("id", "username", "email", "stripe_customer_id")
(SELECT 'a1111111-1111-1111-1111-111111111111', '[email protected]', '[email protected]', 'stripe_id');

INSERT INTO public."User" ("id","email","stripeCustomerId","macro_user_id")
(SELECT 'macro|[email protected]', '[email protected]','stripe_id', 'a1111111-1111-1111-1111-111111111111');

INSERT INTO public."Document" ("id","name","fileType", "owner")
(SELECT 'document-one', 'test_document_name','pdf', 'macro|[email protected]');

INSERT INTO public."DocumentInstance" ("revisionName", "documentId", "sha")
(SELECT 'test_document_name', 'document-one', 'sha-one');

INSERT INTO public."DocumentInstance" ("revisionName", "documentId", "sha")
(SELECT 'test_document_name', 'document-one', 'sha-two');

INSERT INTO public."Document" ("id","name","fileType", "owner", "createdAt", "updatedAt")
(SELECT 'document-two', 'test_document_name','pdf', 'macro|[email protected]', '2019-10-16 00:00:00', '2019-10-16 00:00:00');

INSERT INTO public."DocumentBom" ("revisionName", "documentId", "createdAt", "updatedAt")
(SELECT 'test_document_name', 'document-two', '2019-10-16 00:00:00', '2019-10-16 00:00:00');

INSERT INTO public."DocumentBom" ("revisionName", "documentId", "createdAt", "updatedAt")
(SELECT 'test_document_name', 'document-two', '2019-10-16 01:00:00', '2019-10-16 01:00:00');

INSERT INTO public."BomPart" ("id", "sha", "path", "documentBomId")
(SELECT 'b1', 'sha-1', 'path', 1);
INSERT INTO public."BomPart" ("id", "sha", "path", "documentBomId")
(SELECT 'b2', 'sha-2', 'path', 1);
INSERT INTO public."BomPart" ("id", "sha", "path", "documentBomId")
(SELECT 'b3', 'sha-3', 'path', 1);

INSERT INTO public."BomPart" ("id", "sha", "path", "documentBomId")
(SELECT 'b4', 'sha-1', 'path', 2);
INSERT INTO public."BomPart" ("id", "sha", "path", "documentBomId")
(SELECT 'b5', 'sha-2', 'path', 2);
INSERT INTO public."BomPart" ("id", "sha", "path", "documentBomId")
(SELECT 'b6', 'sha-4', 'path', 2);