Починил ошибку сохранения в бд без id

This commit is contained in:
2025-07-02 09:57:06 +03:00
parent feb9cef463
commit 9840d3aadf

View File

@@ -44,6 +44,7 @@ class Database:
try:
self.cursor.execute(
"""INSERT INTO activity(
id,
description,
time_spent,
date_start,
@@ -56,6 +57,7 @@ class Database:
author_id
) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)""",
(
act.id,
act.description,
act.time_spent,
act.date_start,