mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-10 01:31:45 +00:00
12 lines
267 B
Ruby
12 lines
267 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Gitlab
|
|
module Database
|
|
class SecApplicationRecord < ::ApplicationRecord
|
|
self.abstract_class = true
|
|
|
|
connects_to database: { writing: :sec, reading: :sec } if Gitlab::Database.has_config?(:sec)
|
|
end
|
|
end
|
|
end
|