You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
` - Field ${deField.Name} not found in attributeSet; Note: only first recognized difference is printed to log`
88
+
)
89
+
);
90
+
returntrue;
91
+
}
92
+
constasField=search[0];
93
+
if(asField.dataType!==deField.FieldType){
94
+
Util.logger.debug(
95
+
Util.getGrayMsg(
96
+
` - Field ${deField.Name} FieldType changed (old: ${asField.dataType}; new: ${deField.FieldType}); Note: only first recognized difference is printed to log`
` - Field ${deField.Name} DefaultValue changed (old: ${asField.defaultValue}; new: ${deField.DefaultValue}); Note: only first recognized difference is printed to log`
114
+
);
115
+
returntrue;
116
+
}
117
+
// some field types don't carry the length property. reset to 0 to ease comparison
118
+
asField.length||=0;
119
+
if(asField.length!==deField.MaxLength){
120
+
Util.logger.debug(
121
+
` - Field ${deField.Name} MaxLength changed (old: ${asField.length}; new: ${deField.MaxLength}); Note: only first recognized difference is printed to log`
122
+
);
123
+
returntrue;
124
+
}
125
+
if(asField.isNullable!==deField.IsRequired){
126
+
Util.logger.debug(
127
+
` - Field ${deField.Name} IsRequired changed (old: ${asField.isNullable}; new: ${deField.IsRequired}); Note: only first recognized difference is printed to log`
128
+
);
129
+
returntrue;
130
+
}
131
+
if(asField.isPrimaryKey!==deField.IsPrimaryKey){
132
+
Util.logger.debug(
133
+
` - Field ${deField.Name} IsPrimaryKey changed (old: ${asField.isPrimaryKey}; new: ${deField.IsPrimaryKey}); Note: only first recognized difference is printed to log`
0 commit comments