0005_auto_20220815_1630.py 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Generated by Django 3.2.13 on 2022-08-15 14:30
  2. import django.contrib.gis.db.models.fields
  3. from django.db import migrations
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('gps_logger', '0004_alter_marker_hdop'),
  7. ]
  8. operations = [
  9. migrations.RemoveField(
  10. model_name='censoredlocation',
  11. name='lat',
  12. ),
  13. migrations.RemoveField(
  14. model_name='censoredlocation',
  15. name='lng',
  16. ),
  17. migrations.RemoveField(
  18. model_name='marker',
  19. name='alt',
  20. ),
  21. migrations.RemoveField(
  22. model_name='marker',
  23. name='lat',
  24. ),
  25. migrations.RemoveField(
  26. model_name='marker',
  27. name='lng',
  28. ),
  29. migrations.AddField(
  30. model_name='censoredlocation',
  31. name='location',
  32. field=django.contrib.gis.db.models.fields.PointField(default=0, srid=4326),
  33. preserve_default=False,
  34. ),
  35. migrations.AddField(
  36. model_name='marker',
  37. name='location',
  38. field=django.contrib.gis.db.models.fields.PointField(default=0, dim=3, srid=4326),
  39. preserve_default=False,
  40. ),
  41. ]