debian-mirror-gitlab/scripts/create_postgres_user.sh

7 lines
144 B
Bash
Raw Normal View History

2018-03-17 18:26:18 +05:30
#!/bin/bash
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