Explicit PostgreSQL schemas
We want the ability to namespace tables, using PostgreSQL schemas. This allow us the ability to "hide" tables that will be moved away to a separate logical database, using schema_search_path
Problem
Up till now, we have no explicit schema, and have allowed users to implicitly choose which schema to install GitLab database tables
Solution
Be explicit about which schemas GitLab will use. Create the following new schemas:
- Create new
gitlab_ci
schema - Create new
gitlab_shared
schema - Create new
gitlab_main
schema (nice to have?)
Next
Edited by Thong Kuah