Skip to content

Commit e91c3e5

Browse files
committed
[fix] Added migration file for SAMPLE_APP
Signed-off-by: DragnEmperor <[email protected]>
1 parent d6896e9 commit e91c3e5

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Generated by Django 5.2.1 on 2025-07-11 16:28
2+
3+
from django.db import migrations, models
4+
5+
import openwisp_utils.fields
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
("sample_config", "0008_whoisinfo_organizationconfigsettings_whois_enabled"),
12+
]
13+
14+
operations = [
15+
migrations.AddField(
16+
model_name="organizationconfigsettings",
17+
name="approximate_location_enabled",
18+
field=openwisp_utils.fields.FallbackBooleanChoiceField(
19+
blank=True,
20+
default=None,
21+
fallback=False,
22+
help_text="Whether the approximate location feature is enabled",
23+
null=True,
24+
verbose_name="Approximate Location Enabled",
25+
),
26+
),
27+
migrations.AddField(
28+
model_name="whoisinfo",
29+
name="latitude",
30+
field=models.FloatField(blank=True, help_text="Latitude", null=True),
31+
),
32+
migrations.AddField(
33+
model_name="whoisinfo",
34+
name="longitude",
35+
field=models.FloatField(blank=True, help_text="Longitude", null=True),
36+
),
37+
]

0 commit comments

Comments
 (0)