feat: create column and endpoint to store user project issue views

This commit is contained in:
pablohashescobar 2022-12-13 23:27:59 +05:30
parent 2335dfe884
commit a45fb44020
2 changed files with 34 additions and 0 deletions

View file

@ -116,6 +116,7 @@ class ProjectMember(ProjectBaseModel):
)
comment = models.TextField(blank=True, null=True)
role = models.PositiveSmallIntegerField(choices=ROLE_CHOICES, default=10)
view_props = models.JSONField(null=True)
class Meta:
unique_together = ["project", "member"]