We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e226bdb commit 1efce33Copy full SHA for 1efce33
pyrogram/client/storage/schema.sql
@@ -27,8 +27,8 @@ CREATE INDEX idx_peers_phone_number ON peers (phone_number);
27
CREATE TRIGGER trg_peers_last_update_on
28
AFTER UPDATE
29
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;
+BEGIN
+ UPDATE peers
+ SET last_update_on = CAST(STRFTIME('%s', 'now') AS INTEGER)
+ WHERE id = NEW.id;
+END;
0 commit comments