diff --git a/apiserver/plane/db/migrations/0065_auto_20240415_0937.py b/apiserver/plane/db/migrations/0065_auto_20240415_0937.py index 9d8cc50be..9203450b2 100644 --- a/apiserver/plane/db/migrations/0065_auto_20240415_0937.py +++ b/apiserver/plane/db/migrations/0065_auto_20240415_0937.py @@ -213,6 +213,16 @@ class Migration(migrations.Migration): }, ), 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( model_name="user", name="billing_address", diff --git a/apiserver/plane/db/models/project.py b/apiserver/plane/db/models/project.py index 49fca1323..e695f42c3 100644 --- a/apiserver/plane/db/models/project.py +++ b/apiserver/plane/db/models/project.py @@ -115,6 +115,8 @@ class Project(BaseModel): related_name="default_state", ) 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): """Return name of the project"""