Add file size to export table

This commit is contained in:
JonnyWong16 2020-08-03 21:28:13 -07:00
commit 40fbc55ab3
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
4 changed files with 39 additions and 22 deletions

View file

@ -794,7 +794,7 @@ def dbcheck():
c_db.execute(
'CREATE TABLE IF NOT EXISTS exports (id INTEGER PRIMARY KEY AUTOINCREMENT, '
'timestamp INTEGER, section_id INTEGER, rating_key INTEGER, media_type TEXT, '
'file_format TEXT, filename TEXT, complete INTEGER DEFAULT 0)'
'filename TEXT, file_format TEXT, file_size INTEGER DEFAULT 0, complete INTEGER DEFAULT 0)'
)
# Upgrade sessions table from earlier versions