mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
dev: add start date and end date to projects (#4355)
This commit is contained in:
parent
77e38b6124
commit
69d41c396e
@ -213,6 +213,16 @@ class Migration(migrations.Migration):
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
migrations.RunPython(migrate_user_profile),
|
migrations.RunPython(migrate_user_profile),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name="project",
|
||||||
|
name="end_date",
|
||||||
|
field=models.DateField(blank=True, null=True),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name="project",
|
||||||
|
name="start_date",
|
||||||
|
field=models.DateField(blank=True, null=True),
|
||||||
|
),
|
||||||
migrations.RemoveField(
|
migrations.RemoveField(
|
||||||
model_name="user",
|
model_name="user",
|
||||||
name="billing_address",
|
name="billing_address",
|
||||||
|
@ -115,6 +115,8 @@ class Project(BaseModel):
|
|||||||
related_name="default_state",
|
related_name="default_state",
|
||||||
)
|
)
|
||||||
archived_at = models.DateTimeField(null=True)
|
archived_at = models.DateTimeField(null=True)
|
||||||
|
start_date = models.DateField(null=True, blank=True)
|
||||||
|
end_date = models.DateField(null=True, blank=True)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
"""Return name of the project"""
|
"""Return name of the project"""
|
||||||
|
Loading…
Reference in New Issue
Block a user