mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update src/utils/resources.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
ee4d94d382
commit
73a144fa46
1 changed files with 1 additions and 1 deletions
|
@ -1373,7 +1373,7 @@ class DatabaseAppResource(AppResource):
|
|||
|
||||
def deprovision(self, context: Dict = {}):
|
||||
db_user = self.app.replace("-", "_").replace(".", "_")
|
||||
db_name = self.get_setting("db_name") || db_user
|
||||
db_name = self.get_setting("db_name") or db_user
|
||||
|
||||
if self.dbtype == "mysql":
|
||||
self._run_script(
|
||||
|
|
Loading…
Add table
Reference in a new issue