diff options
author | ThibG <thib@sitedethib.com> | 2020-02-20 00:52:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 00:52:50 +0100 |
commit | 668098303284b0aa0f1dcfddc280ed1b6fb435bb (patch) | |
tree | d5b47229d14d496ec48a9f7ad303acdcc5054841 /lib | |
parent | 955f838f9df9a6af4ba2ab51716def6093698c28 (diff) | |
parent | bc4de2f66117b5eac8ebe4a389ad9915c471b0c5 (diff) |
Merge pull request #1287 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
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 |