2020-03-25 18:08:10 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-07-23 15:09:28 +00:00
|
|
|
# Patch to write version information as empty files under the db/schema_migrations directory
|
2020-03-25 18:08:10 +00:00
|
|
|
# This is intended to reduce potential for merge conflicts in db/structure.sql
|
2020-07-23 15:09:28 +00:00
|
|
|
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.prepend(Gitlab::Database::PostgresqlAdapter::DumpSchemaVersionsMixin)
|
|
|
|
# Patch to load version information from empty files under the db/schema_migrations directory
|
|
|
|
ActiveRecord::Tasks::PostgreSQLDatabaseTasks.prepend(Gitlab::Database::PostgresqlDatabaseTasks::LoadSchemaVersionsMixin)
|