Skip to content

Draft: Capture table metadata including ownership

Andreas Brandl requested to merge ab/ownership into master

What does this MR do?

This follows-up with our desire to associate tables with GitLab's backend groups in terms of ownership and allow group's to add documentation to the database model (describing tables, later also columns as needed).

This MR has:

  1. An abstraction to support storing meta-information as JSON documents in the form of table comments
  2. A migration to specify ownership for two tables as an example (Closes #332716 (closed)) and align already existing table comments
  3. Documentation explaining the concept of "table ownership" and database documentation in general

Please see the added documentation for more details.

Edited by Andreas Brandl

Merge request reports

Loading