Welcome to mirror list, hosted at ThFree Co, Russian Federation.

main.yaml « database_connections « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9eadd26ec26f67ff5ada5d23cd8bc66a1a335f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: main
description: Main GitLab database holding all projects, issues, etc.
gitlab_schemas:
  - gitlab_internal
  - gitlab_shared
  - gitlab_main
  - gitlab_main_cell
  - gitlab_pm
lock_gitlab_schemas:
  - gitlab_ci
# 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