order uchun overdue price qoshildi va pharmacy field orniga factory field qoshildi
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Generated by Django 5.2 on 2025-11-27 10:24
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders', '0001_initial'),
|
||||
('shared', '0010_factory'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='order',
|
||||
name='pharmacy',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='factory',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='orders', to='shared.factory'),
|
||||
),
|
||||
]
|
||||
18
core/apps/orders/migrations/0003_order_overdue_price.py
Normal file
18
core/apps/orders/migrations/0003_order_overdue_price.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2 on 2025-11-27 10:27
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders', '0002_remove_order_pharmacy_order_factory'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='overdue_price',
|
||||
field=models.DecimalField(decimal_places=2, default=0, max_digits=15),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user