diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-02-19 23:04:18 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-02-19 23:04:18 +0100 |
commit | e03700240111f42350902387502025fe254fd466 (patch) | |
tree | 3a89540465fddb68791cdcffbc551f5cc6123b41 /lib | |
parent | 955f838f9df9a6af4ba2ab51716def6093698c28 (diff) | |
parent | ff3a11d01d262c0a37cc1e33db2013b19729fb9d (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mastodon/migration_helpers.rb | 8 | ||||
-rw-r--r-- | lib/mastodon/version.rb | 2 |
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 |