plan uchun yangi fieldlar qoshildi

This commit is contained in:
behruz-dev
2025-12-03 16:48:59 +05:00
parent 2054d17332
commit 676d9c5dcd
6 changed files with 152 additions and 33 deletions

View File

@@ -0,0 +1,44 @@
# Generated by Django 5.2 on 2025-12-03 11:16
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('shared', '0015_support_type'),
]
operations = [
migrations.AddField(
model_name='plan',
name='comment',
field=models.TextField(blank=True, null=True),
),
migrations.AddField(
model_name='plan',
name='doctor',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='plans', to='shared.doctor'),
),
migrations.AddField(
model_name='plan',
name='extra_location',
field=models.JSONField(blank=True, null=True),
),
migrations.AddField(
model_name='plan',
name='latitude',
field=models.FloatField(default=0.0),
),
migrations.AddField(
model_name='plan',
name='longitude',
field=models.FloatField(default=0.0),
),
migrations.AddField(
model_name='plan',
name='pharmacy',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='plans', to='shared.pharmacy'),
),
]