This commit is contained in:
harold 2025-05-15 10:31:53 +05:00
parent 9587f18025
commit c750e88d01

View File

@ -594,4 +594,5 @@ var InsertStreamerOnline = `
INSERT INTO streamers_online (streamer_id) VALUES (@streamer_id)`
var GetLastStreamerOnline = `
SELECT created_at FROM streamers_online WHERE streamer_id = @streamer_id`
SELECT created_at FROM streamers_online WHERE streamer_id = @streamer_id
ORDER BY created_at DESC LIMIT 1;`