24 lines
679 B
Python
24 lines
679 B
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("location_data", "0003_rename_app_label"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="soillocation",
|
|
name="farm_boundary",
|
|
field=models.JSONField(
|
|
blank=True,
|
|
default=dict,
|
|
help_text=(
|
|
"مرز مزرعه برای درخواستهای سنجشازدور. "
|
|
'میتواند GeoJSON polygon یا bbox مثل {"type": "Polygon", "coordinates": [...]} باشد.'
|
|
),
|
|
),
|
|
),
|
|
]
|