[WEB-4504] chore: added migration for app rail and reactions #7408
This commit is contained in:
parent
67b62dcbe3
commit
62065a6ebb
3 changed files with 31 additions and 2 deletions
|
|
@ -601,7 +601,7 @@ class IssueReaction(ProjectBaseModel):
|
|||
issue = models.ForeignKey(
|
||||
Issue, on_delete=models.CASCADE, related_name="issue_reactions"
|
||||
)
|
||||
reaction = models.CharField(max_length=20)
|
||||
reaction = models.TextField()
|
||||
|
||||
class Meta:
|
||||
unique_together = ["issue", "actor", "reaction", "deleted_at"]
|
||||
|
|
@ -630,7 +630,7 @@ class CommentReaction(ProjectBaseModel):
|
|||
comment = models.ForeignKey(
|
||||
IssueComment, on_delete=models.CASCADE, related_name="comment_reactions"
|
||||
)
|
||||
reaction = models.CharField(max_length=20)
|
||||
reaction = models.TextField()
|
||||
|
||||
class Meta:
|
||||
unique_together = ["comment", "actor", "reaction", "deleted_at"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue