diff options
Diffstat (limited to 'db/database_connections/main.yaml')
-rw-r--r-- | db/database_connections/main.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/db/database_connections/main.yaml b/db/database_connections/main.yaml new file mode 100644 index 00000000000..dfdd50eb085 --- /dev/null +++ b/db/database_connections/main.yaml @@ -0,0 +1,15 @@ +name: main +description: Main GitLab database holding all projects, issues, etc. +gitlab_schemas: + - gitlab_internal + - gitlab_shared + - gitlab_main + - gitlab_main_cell + - gitlab_pm +# 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 |