Skip to content

NVR with realtime local object detection for IP cameras

338 B
Raw Blame
import peewee as pw

from frigate.models import Event


def migrate(migrator, database, fake=False, **kwargs):
    migrator.change_fields(Event, sub_label=pw.CharField(max_length=100, null=True))


def rollback(migrator, database, fake=False, **kwargs):
    migrator.change_fields(Event, sub_label=pw.CharField(max_length=20, null=True))