Fix hardcoded DB name in 'about' SQL query. Closes #1477.
This commit is contained in:
parent
52a7298a9d
commit
eefcbc30a3
1 changed files with 1 additions and 1 deletions
|
@ -1082,4 +1082,4 @@ DELETE FROM bounces WHERE subscriber_id = (SELECT id FROM sub);
|
|||
|
||||
-- name: get-db-info
|
||||
SELECT JSON_BUILD_OBJECT('version', (SELECT VERSION()),
|
||||
'size_mb', (SELECT ROUND(pg_database_size('listmonk')/(1024^2)))) AS info;
|
||||
'size_mb', (SELECT ROUND(pg_database_size((SELECT CURRENT_DATABASE()))/(1024^2)))) AS info;
|
||||
|
|
Loading…
Reference in a new issue