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

active_record_database_tasks.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f06174262a975ae1c0296accc98d91c507a82684 (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

return unless Gitlab.ee?

ActiveSupport.on_load(:active_record) do
  ActiveRecord::Tasks::DatabaseTasks.singleton_class.prepend(Gitlab::Patch::GeoDatabaseTasks)
end