Browse Source

Fix typo in db.rake (#16126)

occured -> occurred
closed-social-v3
Ikko Ashimine 3 years ago
committed by GitHub
parent
commit
0bc909687a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/tasks/db.rake

+ 1
- 1
lib/tasks/db.rake View File

@ -22,7 +22,7 @@ namespace :db do
unless %w(C POSIX).include?(ActiveRecord::Base.connection.select_one('SELECT datcollate FROM pg_database WHERE datname = current_database();')['datcollate']) unless %w(C POSIX).include?(ActiveRecord::Base.connection.select_one('SELECT datcollate FROM pg_database WHERE datname = current_database();')['datcollate'])
warn <<~WARNING warn <<~WARNING
Your database collation is susceptible to index corruption. Your database collation is susceptible to index corruption.
(This warning does not indicate that index corruption has occured and can be ignored)
(This warning does not indicate that index corruption has occurred and can be ignored)
(To learn more, visit: https://docs.joinmastodon.org/admin/troubleshooting/index-corruption/) (To learn more, visit: https://docs.joinmastodon.org/admin/troubleshooting/index-corruption/)
WARNING WARNING
end end

Loading…
Cancel
Save