about summary refs log tree commit diff
path: root/lib/mastodon
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-02-19 23:04:18 +0100
committerThibaut Girka <thib@sitedethib.com>2020-02-19 23:04:18 +0100
commite03700240111f42350902387502025fe254fd466 (patch)
tree3a89540465fddb68791cdcffbc551f5cc6123b41 /lib/mastodon
parent955f838f9df9a6af4ba2ab51716def6093698c28 (diff)
parentff3a11d01d262c0a37cc1e33db2013b19729fb9d (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'lib/mastodon')
-rw-r--r--lib/mastodon/migration_helpers.rb8
-rw-r--r--lib/mastodon/version.rb2
2 files changed, 3 insertions, 7 deletions
diff --git a/lib/mastodon/migration_helpers.rb b/lib/mastodon/migration_helpers.rb
index 146eba8ec..bf2314ecb 100644
--- a/lib/mastodon/migration_helpers.rb
+++ b/lib/mastodon/migration_helpers.rb
@@ -886,16 +886,12 @@ module Mastodon
 Your database user is not allowed to create, drop, or execute triggers on the
 table #{table}.
 
-If you are using PostgreSQL you can solve this by logging in to the GitLab
+If you are using PostgreSQL you can solve this by logging in to the Mastodon
 database (#{dbname}) using a super user and running:
 
     ALTER USER #{user} WITH SUPERUSER
 
-For MySQL you instead need to run:
-
-    GRANT ALL PRIVILEGES ON *.* TO #{user}@'%'
-
-Both queries will grant the user super user permissions, ensuring you don't run
+The query will grant the user super user permissions, ensuring you don't run
 into similar problems in the future (e.g. when new tables are created).
         EOF
       end
diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb
index c3e288eee..a83e4da62 100644
--- a/lib/mastodon/version.rb
+++ b/lib/mastodon/version.rb
@@ -13,7 +13,7 @@ module Mastodon
     end
 
     def patch
-      0
+      1
     end
 
     def flags