From 783a6ace408317415505ff8d8045a46150ae096f Mon Sep 17 00:00:00 2001 From: vran Date: Sun, 1 May 2022 09:52:11 +0800 Subject: [PATCH] fix: remove unnecessary template field (#139) * fix: remove unnecessary template field * fix: remove keySeq in template --- .../event/subscriber/SystemStartedEventSubscriber.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/databasir/core/infrastructure/event/subscriber/SystemStartedEventSubscriber.java b/core/src/main/java/com/databasir/core/infrastructure/event/subscriber/SystemStartedEventSubscriber.java index 3ec3e2a..f54b911 100644 --- a/core/src/main/java/com/databasir/core/infrastructure/event/subscriber/SystemStartedEventSubscriber.java +++ b/core/src/main/java/com/databasir/core/infrastructure/event/subscriber/SystemStartedEventSubscriber.java @@ -53,7 +53,7 @@ public class SystemStartedEventSubscriber { private void initTemplatePropertiesIfNecessary() { List ignoreFields = List.of("createAt", "discussionCount", "id", - "columns", "indexes", "triggers", "foreignKeys"); + "columns", "indexes", "triggers", "foreignKeys", "diffType", "original", "keySeq"); Map fieldChineseMap = fieldChineseMap(); BiFunction mapping = (field, type) -> { String key = field.getName();