Add type, channel, and receiver fields to chat model and database handling.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user