add weight types to live stovk types
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 5.0 on 2025-07-14 08:23
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('product', '0043_quota_sale_license'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='quotalivestockallocation',
|
||||
name='livestock_type',
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,20 @@
|
||||
# Generated by Django 5.0 on 2025-07-14 08:25
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('livestock', '0012_livestocktype_weight_type'),
|
||||
('product', '0044_remove_quotalivestockallocation_livestock_type'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='quotalivestockallocation',
|
||||
name='livestock_type',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='allocations', to='livestock.livestocktype'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user