From a7242f56c15e83300d7a9201926eb46860489f35 Mon Sep 17 00:00:00 2001 From: XuqmGroup Date: Tue, 16 Jun 2026 15:39:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20log-service=20entity=20boolean=20TINYINT?= =?UTF-8?q?(1)=20=E5=AF=B9=E9=BD=90=20MySQL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- .../src/main/java/com/xuqm/log/entity/LogIssueEntity.java | 2 +- .../src/main/java/com/xuqm/log/entity/LogWebhookEntity.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xuqm-log-service/src/main/java/com/xuqm/log/entity/LogIssueEntity.java b/xuqm-log-service/src/main/java/com/xuqm/log/entity/LogIssueEntity.java index 907bf41..75cadcd 100644 --- a/xuqm-log-service/src/main/java/com/xuqm/log/entity/LogIssueEntity.java +++ b/xuqm-log-service/src/main/java/com/xuqm/log/entity/LogIssueEntity.java @@ -32,7 +32,7 @@ public class LogIssueEntity { @Column(nullable = false) private int count = 1; - @Column(nullable = false) + @Column(nullable = false, columnDefinition = "TINYINT(1)") private boolean isResolved = false; @Column(length = 16) diff --git a/xuqm-log-service/src/main/java/com/xuqm/log/entity/LogWebhookEntity.java b/xuqm-log-service/src/main/java/com/xuqm/log/entity/LogWebhookEntity.java index 4c8d3a6..f2e6475 100644 --- a/xuqm-log-service/src/main/java/com/xuqm/log/entity/LogWebhookEntity.java +++ b/xuqm-log-service/src/main/java/com/xuqm/log/entity/LogWebhookEntity.java @@ -23,7 +23,7 @@ public class LogWebhookEntity { @Column(nullable = false) private int cooldownSec = 3600; - @Column(nullable = false) + @Column(nullable = false, columnDefinition = "TINYINT(1)") private boolean enabled = true; @Column(nullable = false)