mirror of
https://github.com/makeplane/plane.git
synced 2026-09-01 19:48:42 +02:00
chore: navigation related fields
This commit is contained in:
@@ -21,4 +21,15 @@ class Migration(migrations.Migration):
|
||||
name='parent',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='parent_issue_comment', to='db.issuecomment'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='workspaceuserproperties',
|
||||
name='is_horizontal_navigation_bar',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='workspaceuserproperties',
|
||||
name='num_of_projects',
|
||||
field=models.IntegerField(default=10),
|
||||
),
|
||||
|
||||
]
|
||||
|
||||
@@ -315,6 +315,8 @@ class WorkspaceUserProperties(BaseModel):
|
||||
display_filters = models.JSONField(default=get_default_display_filters)
|
||||
display_properties = models.JSONField(default=get_default_display_properties)
|
||||
rich_filters = models.JSONField(default=dict)
|
||||
num_of_projects = models.IntegerField(default=10)
|
||||
is_horizontal_navigation_bar = models.BooleanField(default=False)
|
||||
|
||||
class Meta:
|
||||
unique_together = ["workspace", "user", "deleted_at"]
|
||||
|
||||
Reference in New Issue
Block a user