diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-01-30 23:49:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-30 23:49:52 +0100 |
commit | c6b291afc3f6afe9b1c5df5808e9a5b40a4e06ce (patch) | |
tree | 1c1d91ddf88d736702da618e8ebe677dd4b9d34f /lib | |
parent | a99adeaad332d43daa1dd8aa651c57ed82acc384 (diff) |
Change index corruption warning to be a little less scary (#17395)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/db.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/db.rake b/lib/tasks/db.rake index b2a0d61de..a6b8c74cd 100644 --- a/lib/tasks/db.rake +++ b/lib/tasks/db.rake @@ -21,8 +21,8 @@ namespace :db do at_exit do unless %w(C POSIX).include?(ActiveRecord::Base.connection.select_one('SELECT datcollate FROM pg_database WHERE datname = current_database();')['datcollate']) warn <<~WARNING - Your database collation is susceptible to index corruption. - (This warning does not indicate that index corruption has occurred and can be ignored) + Your database collation may be susceptible to index corruption. + (This warning does not indicate that index corruption has occurred, and it can be ignored if you've previously checked for index corruption) (To learn more, visit: https://docs.joinmastodon.org/admin/troubleshooting/index-corruption/) WARNING end |