Skip to content

Commit

Permalink
Merge branch 'feat-home-preferences' of github.com:makeplane/plane in…
Browse files Browse the repository at this point in the history
…to feat-home-preferences
  • Loading branch information
NarayanBavisetti committed Jan 2, 2025
2 parents 0402c77 + d74fa1b commit e1b9d51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,9 @@ class Migration(migrations.Migration):
name="name",
field=models.TextField(blank=True, null=True),
),
migrations.AddField(
model_name='workspacehomepreference',
name='sort_order',
field=models.PositiveIntegerField(default=65535),
),
]
1 change: 1 addition & 0 deletions apiserver/plane/db/models/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ class HomeWidgetKeys(models.TextChoices):
key = models.CharField(max_length=255)
is_enabled = models.BooleanField(default=True)
config = models.JSONField(default=dict)
sort_order = models.PositiveIntegerField(default=65535)

class Meta:
unique_together = ["workspace", "user", "key", "deleted_at"]
Expand Down

0 comments on commit e1b9d51

Please sign in to comment.