Skip to content

Commit

Permalink
Merge pull request #9 from ImMin5/master
Browse files Browse the repository at this point in the history
Modify unique condition for public config
  • Loading branch information
ImMin5 authored Jul 9, 2024
2 parents 68f5074 + e52ffb6 commit aa8b48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spaceone/config/model/public_config/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit aa8b48d

Please sign in to comment.