about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorStanislas <angristan@pm.me>2019-01-27 23:56:07 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-01-27 23:56:07 +0100
commit01bc2f84a92660e8bf8a6084cd9ce08c5f799f3b (patch)
treee3b2c85fbd28217a4cd8dda37ceb1fc2639f550e /lib
parenta53dcaa29869e808707efcba541b02ee8d799e75 (diff)
Fix SUPERUSER postgres command (#9877)
Diffstat (limited to 'lib')
-rw-r--r--lib/mastodon/migration_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/migration_helpers.rb b/lib/mastodon/migration_helpers.rb
index f5dc7e1c6..146eba8ec 100644
--- a/lib/mastodon/migration_helpers.rb
+++ b/lib/mastodon/migration_helpers.rb
@@ -889,7 +889,7 @@ table #{table}.
 If you are using PostgreSQL you can solve this by logging in to the GitLab
 database (#{dbname}) using a super user and running:
 
-    ALTER #{user} WITH SUPERUSER
+    ALTER USER #{user} WITH SUPERUSER
 
 For MySQL you instead need to run: