diff --git a/src/spaceone/config/model/public_config/database.py b/src/spaceone/config/model/public_config/database.py index 575446a..1ddc9c4 100644 --- a/src/spaceone/config/model/public_config/database.py +++ b/src/spaceone/config/model/public_config/database.py @@ -4,7 +4,7 @@ class PublicConfig(MongoModel): - name = StringField(max_length=255, unique_with=["domain_id"]) + name = StringField(max_length=255, unique_with=["domain_id", "workspace_id", "project_id"]) data = DictField() tags = DictField() resource_group = StringField(max_length=40, choices=("DOMAIN", "WORKSPACE", "PROJECT"))