mirror of
https://github.com/makeplane/plane.git
synced 2026-07-14 14:31:37 +02:00
chore: added json field for description (#2369)
This commit is contained in:
committed by
GitHub
parent
d0916c3347
commit
6161c33bc5
@@ -45,7 +45,7 @@ class Migration(migrations.Migration):
|
||||
),
|
||||
),
|
||||
("name", models.CharField(max_length=255)),
|
||||
("description", models.TextField(blank=True, null=True)),
|
||||
("description", models.JSONField(blank=True, null=True)),
|
||||
("description_html", models.TextField(blank=True, null=True)),
|
||||
("description_stripped", models.TextField(blank=True, null=True)),
|
||||
("description_binary", models.BinaryField(null=True)),
|
||||
@@ -344,7 +344,7 @@ class Migration(migrations.Migration):
|
||||
),
|
||||
),
|
||||
("name", models.CharField(max_length=255)),
|
||||
("description", models.TextField(blank=True, null=True)),
|
||||
("description", models.JSONField(blank=True, null=True)),
|
||||
("description_html", models.TextField(blank=True, null=True)),
|
||||
("description_stripped", models.TextField(blank=True, null=True)),
|
||||
("description_binary", models.BinaryField(null=True)),
|
||||
|
||||
@@ -28,7 +28,7 @@ class RelationTypeEnum(models.TextChoices):
|
||||
|
||||
class Customer(BaseModel):
|
||||
name = models.CharField(max_length=255)
|
||||
description = models.TextField(blank=True, null=True)
|
||||
description = models.JSONField(blank=True, null=True)
|
||||
description_html = models.TextField(blank=True, null=True)
|
||||
description_stripped = models.TextField(blank=True, null=True)
|
||||
description_binary = models.BinaryField(null=True)
|
||||
@@ -210,7 +210,7 @@ class CustomerPropertyValue(BaseModel):
|
||||
|
||||
class CustomerRequest(BaseModel):
|
||||
name = models.CharField(max_length=255)
|
||||
description = models.TextField(blank=True, null=True)
|
||||
description = models.JSONField(blank=True, null=True)
|
||||
description_html = models.TextField(blank=True, null=True)
|
||||
description_stripped = models.TextField(blank=True, null=True)
|
||||
description_binary = models.BinaryField(null=True)
|
||||
|
||||
Reference in New Issue
Block a user