Increasing file size column to bigint to allow for larger files.

This commit is contained in:
Roland 2022-06-22 17:36:49 -06:00
parent 172e45f479
commit d617c88343
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
2 changed files with 31 additions and 1 deletions

View file

@ -120,7 +120,7 @@ def _refresh_files():
logger.info('Refreshing Files')
# Mark all files as unverified. Any records that are unverified after refresh will be deleted.
with get_db_curs(commit=True) as curs:
curs.execute('UPDATE file SET idempotency=null')
curs.execute('UPDATE file SET idempotency=null') # noqa
paths = filter(lambda i: i.is_file(), walk(get_media_directory()))
idempotency = str(uuid4())