mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Tiny SQL style fixup
This commit is contained in:
parent
e226bdbf89
commit
1efce33070
1 changed files with 5 additions and 5 deletions
|
|
@ -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…
Reference in a new issue