debian-mirror-gitlab/scripts/create_postgres_user.sh

7 lines
152 B
Bash
Raw Normal View History

2020-05-24 23:13:21 +05:30
#!/usr/bin/env bash
2018-03-17 18:26:18 +05:30
psql -h postgres -U postgres postgres <<EOF
CREATE USER gitlab;
2018-11-08 19:23:39 +05:30
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO gitlab;
2018-03-17 18:26:18 +05:30
EOF