fix postgresql user role creation

This commit is contained in:
yalh76
2019-03-31 19:27:20 +02:00
parent 28d207a109
commit c1608aac61
4 changed files with 6 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ ynh_install_app_dependencies $pkg_dependencies
ynh_print_info "Restoring the PostgreSQL database..."
ynh_psql_test_if_first_run
ynh_psql_create_db "$db_name" "$db_name" "$db_pwd"
ynh_psql_setup_db "$db_name" "$db_name" "$db_pwd"
ynh_psql_execute_file_as_root ./db.sql "$db_name"
#=================================================