add database migrations

This commit is contained in:
Blake Blackshear
2020-12-24 07:47:27 -06:00
parent 4619836122
commit c770470b58
5 changed files with 91 additions and 1 deletions

View File

@@ -12,3 +12,5 @@ class Event(Model):
false_positive = BooleanField()
zones = JSONField()
thumbnail = TextField()
has_clip = BooleanField(default=True)
has_snapshot = BooleanField(default=True)