slim redundant set

This commit is contained in:
Luis Guzmán 2025-01-21 21:55:01 -06:00
parent 4f8a0884e6
commit 9a59891440
2 changed files with 0 additions and 2 deletions

View File

@ -90,7 +90,6 @@ CREATE USER ${ETHERPAD_DB_USER} WITH ENCRYPTED PASSWORD '${ETHERPAD_DB_PASS}';
GRANT ALL PRIVILEGES ON DATABASE ${ETHERPAD_DB_NAME} TO ${ETHERPAD_DB_USER};
\c ${ETHERPAD_DB_NAME}
ALTER SCHEMA public OWNER TO ${ETHERPAD_DB_USER};
GRANT CREATE, USAGE ON SCHEMA public TO ${ETHERPAD_DB_USER};
DB
# Check fot docker if not running then execute

View File

@ -198,7 +198,6 @@ CREATE USER ${NC_DB_USER} WITH ENCRYPTED PASSWORD '${NC_DB_PASSWD}';
GRANT ALL PRIVILEGES ON DATABASE ${NC_DB} TO ${NC_DB_USER};
\c nextcloud_db
ALTER SCHEMA public OWNER TO ${NC_DB_USER};
GRANT CREATE, USAGE ON SCHEMA public TO ${NC_DB_USER};
DB
echo -e "\nDone!\n"