1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/immich_ynh.git synced 2024-09-03 20:36:24 +02:00

Revert Customize some settings in db

This commit is contained in:
Sylvain 2024-04-02 22:28:57 +02:00
parent 88334d02cd
commit 9d9fed376c

View file

@ -240,9 +240,6 @@ myynh_create_psql_db() {
myynh_execute_psql_as_root --sql="CREATE USER $app WITH ENCRYPTED PASSWORD '$db_pwd';" --database="$app" myynh_execute_psql_as_root --sql="CREATE USER $app WITH ENCRYPTED PASSWORD '$db_pwd';" --database="$app"
myynh_execute_psql_as_root --sql="GRANT ALL PRIVILEGES ON DATABASE $app TO $app;" --database="$app" myynh_execute_psql_as_root --sql="GRANT ALL PRIVILEGES ON DATABASE $app TO $app;" --database="$app"
myynh_execute_psql_as_root --sql="ALTER USER $app WITH SUPERUSER;" --database="$app" myynh_execute_psql_as_root --sql="ALTER USER $app WITH SUPERUSER;" --database="$app"
myynh_execute_psql_as_root --sql="INSERT INTO system_config (key, value) VALUES ('newVersionCheck.enabled', false);" --database="$app"
myynh_execute_psql_as_root --sql="INSERT INTO system_config (key, value) VALUES ('machineLearning.url', '127.0.0.1:$port_machinelearning');" --database="$app"
} }
# Remove the database # Remove the database