[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"]
|
||||
|
|
|
|||
|
|
@ -197,6 +197,7 @@ class Profile(TimeAuditModel):
|
|||
)
|
||||
# General
|
||||
theme = models.JSONField(default=dict)
|
||||
is_app_rail_docked = models.BooleanField(default=True)
|
||||
# Onboarding
|
||||
is_tour_completed = models.BooleanField(default=False)
|
||||
onboarding_step = models.JSONField(default=get_default_onboarding)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue