1
0
Fork 0
mirror of https://github.com/louislam/uptime-kuma.git synced 2025-03-15 04:30:29 +03:00

Let's document why this is done this way too

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Louis Lam 2024-12-10 20:47:28 +08:00 committed by GitHub
parent 397411bd27
commit b359b457ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -892,7 +892,7 @@ class Database {
AND important = 0
AND time < ${sqlHourOffset}
AND id NOT IN (
SELECT id FROM (
SELECT id FROM ( -- written this way for Maria's support
SELECT id
FROM heartbeat
WHERE monitor_id = ?