REQ-3540: 惹名scope的子节点名可以重复

This commit is contained in:
yanglin 2025-03-19 14:01:29 +08:00
parent 245968b282
commit 7883095db0
2 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,7 @@ public interface IndexNodeScope {
}
default DatabaseScope scope() {
return DatabaseScope.ANONYMOUS;
return DatabaseScope.NONE;
}
default boolean isChildrenNameDuplicatable() {

View File

@ -11,6 +11,8 @@ import lombok.RequiredArgsConstructor;
@RequiredArgsConstructor
public enum DatabaseScope {
// 无含义
NONE(DatabaseType.NONE, true),
// 匿名数据库
ANONYMOUS(DatabaseType.NONE, true),
// 企业数据库