diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-05-17 15:40:39 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-05-17 15:40:39 +0100 |
commit | 49673de34f326a15d3358cb4ff22a73dfa5d4b20 (patch) | |
tree | 456d5744b1afb95ce12d7a2364f2dd7842b88a0d /scripts/create_postgres_user.sh | |
parent | 9e61d26c35acd6e60ac0fb0df711dbfdfda7c448 (diff) | |
parent | d9b78477000dafc4f8b8fd7e795e97649b8c6718 (diff) | |
download | gitlab-ce-46381-dropdown-mr-widget.tar.gz |
Merge branch 'master' into 46381-dropdown-mr-widget46381-dropdown-mr-widget
* master: (40 commits)
Add changelog
Update quick_start_guide.md
Resolve "Opening Project with invite but without accepting leads to 404 error page"
Respect the inheritance chain between Ci::Build and CommitStatus
Remove unneccessary imports
fixed copy to cliboard button in embedded snippets
Fix Error 500 viewing admin page due to statement timeouts
Grant privileges after database is created
Only setup db in the first checkout!
Project Sidebar: Split CI/CD into CI/CD and Operations
Fix GPM content types for Doorkeeper
Workhorse to send raw diff and patch for commits
Refactor out duplication in runner_policy.rb
Remove unnecessary runner.is_shared? checks in api because they are handled by policy
Allow admin to assign shared runner to project through API
Change policy list_runner_jobs -> read_runner
Rename User#ci_authorized_runners -> ci_owned_runners
Improve efficiency of authorized_runner policy query
Use can? policies for lib/api/runners.rb
Allow group runners to be viewed/edited in API
...
Diffstat (limited to 'scripts/create_postgres_user.sh')
-rw-r--r-- | scripts/create_postgres_user.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/create_postgres_user.sh b/scripts/create_postgres_user.sh index 8a744df3226..8a049bcd7fb 100644 --- a/scripts/create_postgres_user.sh +++ b/scripts/create_postgres_user.sh @@ -1,8 +1,6 @@ #!/bin/bash psql -h postgres -U postgres postgres <<EOF -DROP DATABASE IF EXISTS gitlabhq_test; -CREATE DATABASE gitlabhq_test; CREATE USER gitlab; -GRANT ALL PRIVILEGES ON DATABASE gitlabhq_test TO gitlab; +GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO gitlab; EOF |