about summary refs log tree commit diff
path: root/lib/tasks/db.rake
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-01-31 10:42:17 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-01-31 10:42:17 +0100
commit2fcf652fffa6d7d9ab19d23dcb24c6d68edbc9c3 (patch)
treef748ae22df0d67bf5b9ba393a912fd5b883a32ce /lib/tasks/db.rake
parentb54e263712a9f2b3d4ff0d7b692565d8e24dc03b (diff)
parentaa45404578f3f4bc61742b0bda7111b520491100 (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'lib/tasks/db.rake')
-rw-r--r--lib/tasks/db.rake4
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