change price type int -> decimal field
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# Generated by Django 5.2.4 on 2025-11-07 12:17
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('projects', '0016_estimatework_employee_estimatework_end_date_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='estimatework',
|
||||
name='percentage',
|
||||
field=models.FloatField(blank=True, default=0, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='estimatework',
|
||||
name='price',
|
||||
field=models.DecimalField(decimal_places=2, default=0.0, max_digits=15),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='estimatework',
|
||||
name='total_price',
|
||||
field=models.DecimalField(decimal_places=2, default=0.0, max_digits=15),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='project',
|
||||
name='benifit_plan',
|
||||
field=models.DecimalField(blank=True, decimal_places=2, default=0.0, max_digits=15, null=True),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user