[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
|
|
@ -0,0 +1,28 @@
|
|||
# Generated by Django 4.2.21 on 2025-07-14 10:47
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('db', '0097_project_external_id_project_external_source'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='profile',
|
||||
name='is_app_rail_docked',
|
||||
field=models.BooleanField(default=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='commentreaction',
|
||||
name='reaction',
|
||||
field=models.TextField(),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='issuereaction',
|
||||
name='reaction',
|
||||
field=models.TextField(),
|
||||
),
|
||||
]
|
||||
|
|
@ -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