Files
gitlab-foss/db/database_connections/main.yaml
2025-06-10 06:07:26 +00:00

24 lines
663 B
YAML

name: main
description: Main GitLab database holding all projects, issues, etc.
gitlab_schemas:
- gitlab_internal
- gitlab_shared
- gitlab_main
- gitlab_main_cell
- gitlab_main_cell_local
- gitlab_pm
- gitlab_main_clusterwide
- gitlab_main_cell_setting
- gitlab_main_user
lock_gitlab_schemas:
- gitlab_ci
- gitlab_ci_cell_local
- gitlab_sec
# Note that we use ActiveRecord::Base here and not ApplicationRecord.
# This is deliberate, as:
# - the load balancer must be enabled for _all_ models
# - other models outside of Rails that are using `ActiveRecord::Base`
# needs to use `main:`
klass: ActiveRecord::Base
uses_load_balancing: true