diff --git a/README.md b/README.md index 17d9eefb57..33884ffa5d 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Mastodon acts as an OAuth2 provider, so 3rd party apps can use the REST and Stre ### Requirements -- **PostgreSQL** 12+ +- **PostgreSQL** 13+ - **Redis** 4+ - **Ruby** 3.2+ - **Node.js** 18+ diff --git a/lib/tasks/db.rake b/lib/tasks/db.rake index 73de0c120f..448fc2c1f3 100644 --- a/lib/tasks/db.rake +++ b/lib/tasks/db.rake @@ -44,7 +44,7 @@ namespace :db do task pre_migration_check: :environment do version = ActiveRecord::Base.connection.database_version - abort 'This version of Mastodon requires PostgreSQL 12.0 or newer. Please update PostgreSQL before updating Mastodon.' if version < 120_000 + abort 'This version of Mastodon requires PostgreSQL 13.0 or newer. Please update PostgreSQL before updating Mastodon.' if version < 130_000 end Rake::Task['db:migrate'].enhance(['db:pre_migration_check'])