From 56331a6109300736ebf8f1250f04f06c88e95177 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 27 Mar 2025 15:25:34 -0600 Subject: refactor: split csv files into sub directory to simulate separate databases --- db/api/groups.csv | 9 +++++++++ db/api/organizations.csv | 3 +++ db/api/projects.csv | 9 +++++++++ 3 files changed, 21 insertions(+) create mode 100644 db/api/groups.csv create mode 100644 db/api/organizations.csv create mode 100644 db/api/projects.csv (limited to 'db/api') diff --git a/db/api/groups.csv b/db/api/groups.csv new file mode 100644 index 0000000..03fcf60 --- /dev/null +++ b/db/api/groups.csv @@ -0,0 +1,9 @@ +"id","organization_id","parent_id","name" +1,1,-1,"A" +2,1,-1,"B" +3,2,-1,"gitlab-org" +4,2,-1,"gitlab-com" +5,2,4,"gl-security" +6,2,5,"test-projects" +7,2,4,"support" +8,2,7,"toolbox" diff --git a/db/api/organizations.csv b/db/api/organizations.csv new file mode 100644 index 0000000..840de05 --- /dev/null +++ b/db/api/organizations.csv @@ -0,0 +1,3 @@ +"id","name" +1,"default" +2,"gitlab" diff --git a/db/api/projects.csv b/db/api/projects.csv new file mode 100644 index 0000000..594cc39 --- /dev/null +++ b/db/api/projects.csv @@ -0,0 +1,9 @@ +"id","group_id","name" +1,1,"A1" +2,2,"B1" +3,3,"gitlab" +4,6,"eicar-test-project" +5,5,"disclosures" +6,8,"changelog-parser" +7,4,"handbook" +8,4,"www-gitlab-com" -- cgit v1.2.3