Fixed missing lower() in fines insert/update

This commit is contained in:
mrhanky 2017-07-05 04:15:04 +02:00
parent f5785699d5
commit c941b43109
No known key found for this signature in database
GPG Key ID: 67D772C481CB41B8

View File

@ -63,7 +63,7 @@ class Rape(DatabasePlugin):
insert into
users (nick, fines)
values
(%s, %s)
(lower(%s), %s)
on conflict (nick) do update set
fines = users.fines + excluded.fines
returning