forked from github/plane
fix: project name uniqueness in workspace
This commit is contained in:
parent
5c2d0a829a
commit
668c6c2d2d
@ -59,7 +59,7 @@ class Project(BaseModel):
|
||||
return f"{self.name} <{self.workspace.name}>"
|
||||
|
||||
class Meta:
|
||||
unique_together = ["identifier", "workspace"]
|
||||
unique_together = [["identifier", "workspace"], ["name", "workspace"]]
|
||||
verbose_name = "Project"
|
||||
verbose_name_plural = "Projects"
|
||||
db_table = "project"
|
||||
|
Loading…
Reference in New Issue
Block a user