mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 04:46:18 -05:00
Increasing file size column to bigint to allow for larger files.
This commit is contained in:
parent
172e45f479
commit
d617c88343
2 changed files with 31 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue