Add type, channel, and receiver fields to chat model and database handling.

This commit is contained in:
2026-07-19 22:52:14 +02:00
parent 7750bf6439
commit 1c2478e8d0
6 changed files with 66 additions and 14 deletions
@@ -12,6 +12,9 @@ public class ChatLogDao {
private final String uuid;
private final Timestamp timeStamp;
private final String server;
private final String type;
private final String channel;
private final String receiver;
private final String miniMessage;
private final boolean blocked;
@@ -8,7 +8,7 @@ import java.util.List;
public interface ChatLogMapper {
@Select("""
SELECT uuid, time_stamp, server, mini_message, blocked
SELECT uuid, time_stamp, server, type, channel, receiver, mini_message, blocked
FROM chat_log
WHERE mini_message IS NOT NULL
AND time_stamp >= #{since}