mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-01 16:42:18 +03:00
Make default null
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ from playhouse.sqlite_ext import *
|
|||||||
class Event(Model):
|
class Event(Model):
|
||||||
id = CharField(null=False, primary_key=True, max_length=30)
|
id = CharField(null=False, primary_key=True, max_length=30)
|
||||||
label = CharField(index=True, max_length=20)
|
label = CharField(index=True, max_length=20)
|
||||||
sub_label = CharField(index=True, max_length=12, default=None),
|
sub_label = CharField(index=True, max_length=12, default=None, null=True),
|
||||||
camera = CharField(index=True, max_length=20)
|
camera = CharField(index=True, max_length=20)
|
||||||
start_time = DateTimeField()
|
start_time = DateTimeField()
|
||||||
end_time = DateTimeField()
|
end_time = DateTimeField()
|
||||||
|
|||||||
Reference in New Issue
Block a user