create_postgres_user.sh 144 Bytes
Newer Older
1 2 3 4
#!/bin/bash

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