mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
fix: project name uniqueness in workspace
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user