summaryrefslogtreecommitdiff
path: root/config/initializers/active_record_schema_versions.rb
blob: a7c342e80533310b640b36e573b05dcd576c35d5 (plain)
1
2
3
4
5
# frozen_string_literal: true

# Patch to use COPY in db/structure.sql when populating schema_migrations table
# This is intended to reduce potential for merge conflicts in db/structure.sql
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.prepend(Gitlab::Database::PostgresqlAdapter::SchemaVersionsCopyMixin)