0001_initial.py 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Generated by Django 3.2.13 on 2022-08-12 14:26
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. initial = True
  5. dependencies = [
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='CensoredLocation',
  10. fields=[
  11. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('lat', models.FloatField()),
  13. ('lng', models.FloatField()),
  14. ('name', models.CharField(max_length=255)),
  15. ],
  16. ),
  17. migrations.CreateModel(
  18. name='Marker',
  19. fields=[
  20. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  21. ('timestamp', models.DateTimeField(unique=True)),
  22. ('lat', models.FloatField()),
  23. ('lng', models.FloatField()),
  24. ('alt', models.FloatField()),
  25. ('hdop', models.IntegerField()),
  26. ('speed', models.IntegerField(blank=True, null=True)),
  27. ],
  28. ),
  29. migrations.CreateModel(
  30. name='Trip',
  31. fields=[
  32. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  33. ('startTime', models.DateTimeField()),
  34. ('endTime', models.DateTimeField()),
  35. ('location', models.CharField(max_length=255)),
  36. ('description', models.TextField(blank=True, null=True)),
  37. ],
  38. ),
  39. ]