use %u instead of %s

This commit is contained in:
Sebastian Hugentobler 2022-01-22 20:12:46 +01:00
parent 43dd0abc74
commit a96d50cc13
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='%u' query = SELECT source FROM virtual_aliases WHERE destination='%s%d'