1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/focalboard_ynh.git synced 2024-09-03 18:36:19 +02:00

Revert "Fix"

This reverts commit d15e8c2d3b.
This commit is contained in:
ericgaspar 2021-03-24 17:46:36 +01:00
parent 911703a9ba
commit d581487f8a
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 3 deletions

View file

@ -2,7 +2,7 @@
"serverRoot": "http://127.0.0.1:__PORT__",
"port": __PORT__,
"dbtype": "postgres",
"dbconfig": "postgres://__DB_NAME__:__DB_PWD__@localhost/boards?sslmode=disable&connect_timeout=10",
"dbconfig": "postgres://__DB_NAME__:__DB_PWD__@localhost/__DB_NAME__?sslmode=disable&connect_timeout=10",
"useSSL": false,
"webpath": "./pack",
"filespath": "./files",

View file

@ -80,8 +80,7 @@ ynh_system_user_create --username=$app
#=================================================
ynh_script_progression --message="Creating a PostgreSQL database..." --weight=2
db_name=boards
db_user=$app
db_name=$(ynh_sanitize_dbid --db_name=$app)
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
ynh_psql_test_if_first_run
ynh_psql_setup_db --db_user=$db_name --db_name=$db_name