summaryrefslogtreecommitdiff
path: root/scripts/create_postgres_user.sh
blob: 4c9db68c9d33e5fb7cfeb3672f15877ec3884573 (plain)
1
2
3
4
5
6
#!/usr/bin/env bash

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