This commit is contained in:
Cyberes 2024-03-06 14:31:00 -07:00
parent a9d6ef6783
commit f7f32c094c
2 changed files with 1 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class EmailDatabase:
self.conn = sqlite3.connect(filepath)
cursor = self.conn.cursor()
cursor.execute(f'CREATE TABLE IF NOT EXISTS folders_mapping (name TEXT UNIQUE, table_name TEXT UNIQUE)')
cursor.execute(f'CREATE TABLE IF NOT EXISTS syncs (timestamp INTEGER UNIQUE, type TEXT, new_emails INTEGER, new_attachments INTEGER, new_folders INTEGER, duration INTEGER)')
cursor.execute(f'CREATE TABLE IF NOT EXISTS syncs (timestamp INTEGER UNIQUE, type TEXT, new_emails INTEGER, new_attachments INTEGER, duration INTEGER)')
self.conn.commit()
cursor.close()

View File

@ -26,7 +26,6 @@
<td>{{ sync.type }}</td>
<td>{{ sync.new_emails }}</td>
<td>{{ sync.new_attachments }}</td>
<td>{{ sync.new_folders }}</td>
<td>{{ sync.duration }}</td>
</tr>
{% endfor %}