Support plain SQL database schema
In gitlab-org/gitlab#29465 (closed), we are proposing to use a plain SQL schema structure.sql
instead of the Rails abstractions in schema.rb
.
The changes necessary in GitLab itself are in gitlab-org/gitlab!22808 (merged) (along with discussion).
As @ibaum pointed out in gitlab-org/gitlab#29465 (comment 278378580), we will need to make changes in omnibus, charts and possibly other locations in order to support this:
Based on my reading, I don't think this is a 100% drop in replacement, so I think coordination would be better. We'll need to update https://gitlab.com/gitlab-org/omnibus-gitlab/, https://gitlab.com/gitlab-org/build/CNG/, probably https://gitlab.com/gitlab-org/charts/gitlab, and possibly others as appropriate. Will we need to migrate from schema.rb to structure.sql as well?
This issue is to cover that end. It is a blocker before we can merge the change in the codebase gitlab-org/gitlab!22808 (merged).