Commit 08f19a9c authored by Thong Kuah's avatar Thong Kuah

Merge branch 'add-docs-link-to-cross-db-modification-error' into 'master'

Link to documentation in the cross-db Exception

See merge request gitlab-org/gitlab!72359
parents d067ab49 c4554a63
......@@ -101,7 +101,8 @@ module Database
if schemas.many?
raise Database::PreventCrossDatabaseModification::CrossDatabaseModificationAcrossUnsupportedTablesError,
"Cross-database data modification of '#{schemas.to_a.join(", ")}' were detected within " \
"a transaction modifying the '#{all_tables.to_a.join(", ")}' tables"
"a transaction modifying the '#{all_tables.to_a.join(", ")}' tables." \
"Please refer to https://docs.gitlab.com/ee/development/database/multiple_databases.html#removing-cross-database-transactions for details on how to resolve this exception."
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment