forked from Github/frigate
formatting cleanup
This commit is contained in:
@@ -35,7 +35,12 @@ SQL = pw.SQL
|
||||
|
||||
|
||||
def migrate(migrator, database, fake=False, **kwargs):
|
||||
migrator.add_fields(Event, has_clip=pw.BooleanField(default=True), has_snapshot=pw.BooleanField(default=True))
|
||||
migrator.add_fields(
|
||||
Event,
|
||||
has_clip=pw.BooleanField(default=True),
|
||||
has_snapshot=pw.BooleanField(default=True),
|
||||
)
|
||||
|
||||
|
||||
def rollback(migrator, database, fake=False, **kwargs):
|
||||
migrator.remove_fields(Event, ['has_clip', 'has_snapshot'])
|
||||
migrator.remove_fields(Event, ["has_clip", "has_snapshot"])
|
||||
|
||||
Reference in New Issue
Block a user