change livestock quota allocations quantity to int - change rancher statistics from decimal to int
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.0 on 2025-08-30 08:30
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('product', '0069_quota_group'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='quotalivestockallocation',
|
||||
name='quantity_kg',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
]
|
||||
@@ -497,7 +497,7 @@ class QuotaLivestockAllocation(BaseModel):
|
||||
null=True
|
||||
)
|
||||
livestock_subtype = models.CharField(max_length=20, choices=LivestockSubtype.choices, null=True)
|
||||
quantity_kg = models.DecimalField(max_digits=12, decimal_places=2, null=True)
|
||||
quantity_kg = models.PositiveBigIntegerField(default=0)
|
||||
|
||||
"""
|
||||
@using for set unique values between fields
|
||||
|
||||
Reference in New Issue
Block a user