debian-mirror-gitlab/config/initializers/active_record_schema_versions.rb
2020-04-22 19:07:51 +05:30

6 lines
312 B
Ruby

# 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)