Skip to content

Commit

Permalink
feat(django): add new project types to project type model
Browse files Browse the repository at this point in the history
  • Loading branch information
ofr1tz committed Dec 11, 2024
1 parent 994f398 commit 57dc509
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion django/apps/existing_database/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from mapswipe.db import Model

from django.contrib.gis.db import models as gis_models
from django.db import models
from mapswipe.db import Model

# NOTE: Django model defination and existing table structure doesn't entirely matches.
# This is to be used for testing only.
Expand Down Expand Up @@ -66,6 +67,9 @@ class Type(models.IntegerChoices):
FOOTPRINT = 2, "Validate"
CHANGE_DETECTION = 3, "Compare"
COMPLETENESS = 4, "Completeness"
MEDIA = 5, "Media"
DIGITIZATION = 6, "Digitization"
STREET = 7, "Street"

project_id = models.CharField(primary_key=True, max_length=999)
created = models.DateTimeField(blank=True, null=True)
Expand Down

0 comments on commit 57dc509

Please sign in to comment.