use %u instead of %s

This commit is contained in:
Sebastian Hugentobler 2022-01-22 20:38:56 +01:00
parent a96d50cc13
commit 1c4889f178
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -2,4 +2,4 @@ hosts = {{ getenv "DB_HOST" }}
user = {{ getenv "DB_USER" "email" }} user = {{ getenv "DB_USER" "email" }}
password = {{ getenv "DB_PASSWORD" }} password = {{ getenv "DB_PASSWORD" }}
dbname = {{ getenv "DB_NAME" "email" }} dbname = {{ getenv "DB_NAME" "email" }}
query = SELECT source FROM virtual_aliases WHERE destination='%s%d' query = SELECT source FROM virtual_aliases WHERE destination='%s'