mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Tiny SQL style fixup
This commit is contained in:
parent
e226bdbf89
commit
1efce33070
@ -27,8 +27,8 @@ CREATE INDEX idx_peers_phone_number ON peers (phone_number);
|
||||
CREATE TRIGGER trg_peers_last_update_on
|
||||
AFTER UPDATE
|
||||
ON peers
|
||||
BEGIN
|
||||
UPDATE peers
|
||||
SET last_update_on = CAST(STRFTIME('%s', 'now') AS INTEGER)
|
||||
WHERE id = NEW.id;
|
||||
END;
|
||||
BEGIN
|
||||
UPDATE peers
|
||||
SET last_update_on = CAST(STRFTIME('%s', 'now') AS INTEGER)
|
||||
WHERE id = NEW.id;
|
||||
END;
|
Loading…
x
Reference in New Issue
Block a user