Welcome to mirror list, hosted at ThFree Co, Russian Federation.

create_postgres_user.sh « scripts - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8a049bcd7fbc9e4180a764ae563c4f713ce92780 (plain)
1
2
3
4
5
6
#!/bin/bash

psql -h postgres -U postgres postgres <<EOF
CREATE USER gitlab;
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO gitlab;
EOF