Skip to content

Commit 1efce33

Browse files
committed
Tiny SQL style fixup
1 parent e226bdb commit 1efce33

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pyrogram/client/storage/schema.sql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ CREATE INDEX idx_peers_phone_number ON peers (phone_number);
2727
CREATE TRIGGER trg_peers_last_update_on
2828
AFTER UPDATE
2929
ON peers
30-
BEGIN
31-
UPDATE peers
32-
SET last_update_on = CAST(STRFTIME('%s', 'now') AS INTEGER)
33-
WHERE id = NEW.id;
34-
END;
30+
BEGIN
31+
UPDATE peers
32+
SET last_update_on = CAST(STRFTIME('%s', 'now') AS INTEGER)
33+
WHERE id = NEW.id;
34+
END;

0 commit comments

Comments
 (0)