forked from Github/frigate
Increase maximum event sub_label length to 100 characters (#6350)
* Increase maximum sub label length to 100 characters and update corresponding fields in models and API * black format...
This commit is contained in:
committed by
GitHub
parent
2add675d42
commit
03b45c153b
@@ -14,7 +14,7 @@ from playhouse.sqlite_ext import JSONField
|
||||
class Event(Model): # type: ignore[misc]
|
||||
id = CharField(null=False, primary_key=True, max_length=30)
|
||||
label = CharField(index=True, max_length=20)
|
||||
sub_label = CharField(max_length=20, null=True)
|
||||
sub_label = CharField(max_length=100, null=True)
|
||||
camera = CharField(index=True, max_length=20)
|
||||
start_time = DateTimeField()
|
||||
end_time = DateTimeField()
|
||||
|
||||
Reference in New Issue
Block a user