添加anitype 字段

This commit is contained in:
wuaho 2021-09-01 17:48:47 +08:00
parent 44a29f8a48
commit 7688ca513c

View File

@ -25,6 +25,7 @@ class UpdateInsert:
Column('ctime', Integer), Column('ctime', Integer),
Column('atime', Integer), Column('atime', Integer),
Column('mtime', Integer), Column('mtime', Integer),
Column('anitype', String(32)),
) )
return self return self
@ -120,7 +121,8 @@ class FileMonitor:
'atime': atime, 'atime': atime,
'mtime': mtime, 'mtime': mtime,
'project': project_name, 'project': project_name,
'path': file_path 'path': file_path,
'anitype': 'spine'
}) })
print(ctime, atime, mtime, project_name, file_path) print(ctime, atime, mtime, project_name, file_path)
return data return data