Add size column back in

This commit is contained in:
mike cullerton 2022-04-19 11:37:41 -04:00
parent 08e9628350
commit 196f314b16
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,8 @@ class UserFileService(object):
md5_hash=md5_checksum, md5_hash=md5_checksum,
data=binary_data, data=binary_data,
user_uid=user_uid, user_uid=user_uid,
archived=False archived=False,
size=len(binary_data)
) )
session.add(document_model) session.add(document_model)
session.commit() session.commit()