Use database dictionary to fetch gitlab schemas
What does this MR do and why?
We are deprecating the gitlab_schemas.yml
file. In order to remove the gitlab_schemas.yml
file, we have to fetch the gitlab_schema
from the database dictionary. The gitlab_schema
is a required field in the database dictionary.
Note:
The following classes are using .tables_to_schema
:
I think we don't need to return views as well.
Issue: gitlab-org/database-team/team-tasks#260 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Diogo Frazão