Passage du owner de la BDD daddy à l'utilisateur daddy

This commit is contained in:
wpetit 2020-06-21 14:24:19 +02:00
parent 01f8ca730c
commit 28ba0f5ba0

View File

@ -12,4 +12,5 @@ psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-E
CREATE USER daddy WITH ENCRYPTED PASSWORD 'daddy'; CREATE USER daddy WITH ENCRYPTED PASSWORD 'daddy';
CREATE DATABASE daddy; CREATE DATABASE daddy;
GRANT ALL PRIVILEGES ON DATABASE daddy TO daddy; GRANT ALL PRIVILEGES ON DATABASE daddy TO daddy;
ALTER DATABASE daddy OWNER TO daddy;
EOSQL EOSQL