summaryrefslogtreecommitdiff
path: root/scripts/create_postgres_user.sh
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