chore: new field added in estimates

This commit is contained in:
NarayanBavisetti 2024-05-27 12:43:48 +05:30
parent 2e341c3f01
commit b8a8c82d5f
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 4.2.7 on 2024-05-27 07:11
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('db', '0067_issue_estimate'),
]
operations = [
migrations.AddField(
model_name='estimate',
name='last_used',
field=models.BooleanField(default=False),
),
]

View File

@ -12,6 +12,7 @@ class Estimate(ProjectBaseModel):
verbose_name="Estimate Description", blank=True verbose_name="Estimate Description", blank=True
) )
type = models.CharField(max_length=255, default="Categories") type = models.CharField(max_length=255, default="Categories")
last_used = models.BooleanField(default=False)
def __str__(self): def __str__(self):
"""Return name of the estimate""" """Return name of the estimate"""