mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: new field added in estimates
This commit is contained in:
parent
2e341c3f01
commit
b8a8c82d5f
18
apiserver/plane/db/migrations/0068_estimate_last_used.py
Normal file
18
apiserver/plane/db/migrations/0068_estimate_last_used.py
Normal 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),
|
||||||
|
),
|
||||||
|
]
|
@ -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"""
|
||||||
|
Loading…
Reference in New Issue
Block a user