Browse Source
fix: remove unnecessary template field (#139)
* fix: remove unnecessary template field
* fix: remove keySeq in template
master
vran
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
core/src/main/java/com/databasir/core/infrastructure/event/subscriber/SystemStartedEventSubscriber.java
|
|
@ -53,7 +53,7 @@ public class SystemStartedEventSubscriber { |
|
|
|
|
|
|
|
private void initTemplatePropertiesIfNecessary() { |
|
|
|
List<String> ignoreFields = List.of("createAt", "discussionCount", "id", |
|
|
|
"columns", "indexes", "triggers", "foreignKeys"); |
|
|
|
"columns", "indexes", "triggers", "foreignKeys", "diffType", "original", "keySeq"); |
|
|
|
Map<String, String> fieldChineseMap = fieldChineseMap(); |
|
|
|
BiFunction<Field, DocumentTemplatePropertyType, DocumentTemplatePropertyPojo> mapping = (field, type) -> { |
|
|
|
String key = field.getName(); |
|
|
|