GitLab database schema gitlab_dotcom diagram

Hey all,

Do you know where could I find db documentation for gitlab_dotcom schema, including:

  • primary keys and foreign keys;
  • relations between tables (so I see how the tables one table can be joined to);
  • relation types (1 to 1, 1 to many, etc).

Especially the last 2 topics I am missing, the first I’ve found it in structure.sql provided by GitLab.

Thank you,
Dragos