chore: issue type migration
This commit is contained in:
parent
033e7703b4
commit
edb04a33fd
2 changed files with 7 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ import uuid
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('db', '0073_alter_commentreaction_unique_together_and_more'),
|
||||
("db", "0073_alter_commentreaction_unique_together_and_more"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
|
@ -173,4 +173,9 @@ class Migration(migrations.Migration):
|
|||
name="is_default",
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="issuetype",
|
||||
name="level",
|
||||
field=models.PositiveIntegerField(default=0),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ class IssueType(BaseModel):
|
|||
logo_props = models.JSONField(default=dict)
|
||||
is_default = models.BooleanField(default=False)
|
||||
is_active = models.BooleanField(default=True)
|
||||
level = models.PositiveIntegerField(default=0)
|
||||
|
||||
class Meta:
|
||||
unique_together = ["workspace", "name", "deleted_at"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue