forked from switnet/quick-jibri-installer
slim redundant set
This commit is contained in:
parent
4f8a0884e6
commit
9a59891440
|
@ -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};
|
GRANT ALL PRIVILEGES ON DATABASE ${ETHERPAD_DB_NAME} TO ${ETHERPAD_DB_USER};
|
||||||
\c ${ETHERPAD_DB_NAME}
|
\c ${ETHERPAD_DB_NAME}
|
||||||
ALTER SCHEMA public OWNER TO ${ETHERPAD_DB_USER};
|
ALTER SCHEMA public OWNER TO ${ETHERPAD_DB_USER};
|
||||||
GRANT CREATE, USAGE ON SCHEMA public TO ${ETHERPAD_DB_USER};
|
|
||||||
DB
|
DB
|
||||||
|
|
||||||
# Check fot docker if not running then execute
|
# Check fot docker if not running then execute
|
||||||
|
|
|
@ -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};
|
GRANT ALL PRIVILEGES ON DATABASE ${NC_DB} TO ${NC_DB_USER};
|
||||||
\c nextcloud_db
|
\c nextcloud_db
|
||||||
ALTER SCHEMA public OWNER TO ${NC_DB_USER};
|
ALTER SCHEMA public OWNER TO ${NC_DB_USER};
|
||||||
GRANT CREATE, USAGE ON SCHEMA public TO ${NC_DB_USER};
|
|
||||||
DB
|
DB
|
||||||
|
|
||||||
echo -e "\nDone!\n"
|
echo -e "\nDone!\n"
|
||||||
|
|
Loading…
Reference in New Issue