Skip to content

Schema validation gem

Diogo Frazão requested to merge schema-validation-gem into master

What does this MR do and why?

We want to extract the schema validation framework (gitlab/lib/gitlab/database/schema_validation/*) from the codebase into a gem.

In this merge request, we are starting this process generating a new gem.

In the following merge request, we will start adding content to the gem.

We have used the following documentation to setup the schema validation gem: https://docs.gitlab.com/ee/development/gems.html

You can see more information about how the gem works in the POC: gitlab-org/database-team/schema-validation!11 (closed)

Slack discussion: https://gitlab.slack.com/archives/C01TQ838Y3T/p1688036927668279 (private)

Issue: #390856 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

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.

Edited by Diogo Frazão

Merge request reports