Passage du owner de la BDD daddy à l'utilisateur daddy
This commit is contained in:
parent
01f8ca730c
commit
28ba0f5ba0
@ -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
|
Loading…
Reference in New Issue
Block a user