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

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

ActiveRecord::Tasks::DatabaseTasks.structure_load_flags ||= []

flag = '--single-transaction'

unless ActiveRecord::Tasks::DatabaseTasks.structure_load_flags.include?(flag)
  ActiveRecord::Tasks::DatabaseTasks.structure_load_flags << flag
end