Fixed missing lower() in fines insert/update
This commit is contained in:
parent
f5785699d5
commit
c941b43109
|
@ -63,7 +63,7 @@ class Rape(DatabasePlugin):
|
||||||
insert into
|
insert into
|
||||||
users (nick, fines)
|
users (nick, fines)
|
||||||
values
|
values
|
||||||
(%s, %s)
|
(lower(%s), %s)
|
||||||
on conflict (nick) do update set
|
on conflict (nick) do update set
|
||||||
fines = users.fines + excluded.fines
|
fines = users.fines + excluded.fines
|
||||||
returning
|
returning
|
||||||
|
|
Loading…
Reference in New Issue
Block a user