mirror of
https://github.com/makeplane/plane.git
synced 2026-02-24 04:00:14 +01:00
[WEB-6194]migration: added archived_at in IssueView #8641
* migration: added archived_at in IssueView * fix: lint
This commit is contained in:
@@ -33,6 +33,7 @@ from plane.db.models import (
|
||||
ProjectIdentifier,
|
||||
ProjectMember,
|
||||
ProjectNetwork,
|
||||
ProjectUserProperty,
|
||||
State,
|
||||
DEFAULT_STATES,
|
||||
Workspace,
|
||||
|
||||
18
apps/api/plane/db/migrations/0120_issueview_archived_at.py
Normal file
18
apps/api/plane/db/migrations/0120_issueview_archived_at.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.28 on 2026-02-17 10:47
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('db', '0119_alter_estimatepoint_key'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='issueview',
|
||||
name='archived_at',
|
||||
field=models.DateTimeField(null=True),
|
||||
),
|
||||
]
|
||||
@@ -68,6 +68,7 @@ class IssueView(WorkspaceBaseModel):
|
||||
logo_props = models.JSONField(default=dict)
|
||||
owned_by = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE, related_name="views")
|
||||
is_locked = models.BooleanField(default=False)
|
||||
archived_at = models.DateTimeField(null=True)
|
||||
|
||||
class Meta:
|
||||
verbose_name = "Issue View"
|
||||
|
||||
Reference in New Issue
Block a user