Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
Add location type Homebound, closes #679
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jun 21, 2021
1 parent 73fd55a commit 9b7cc30
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions vaccinate/core/migrations/0151_homebound_location_type.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from django.db import migrations


def add_location_type(apps, schema_editor):
LocationType = apps.get_model("core", "LocationType")
LocationType.objects.get_or_create(name="Homebound")


class Migration(migrations.Migration):

dependencies = [
("core", "0150_add_location_review_note_and_location_review_tag"),
]

operations = [
migrations.RunPython(add_location_type),
]

0 comments on commit 9b7cc30

Please sign in to comment.