diff --git a/db/db.py b/db/db.py index 9daf068..e6ef900 100644 --- a/db/db.py +++ b/db/db.py @@ -44,6 +44,7 @@ class Database: try: self.cursor.execute( """INSERT INTO activity( + id, description, time_spent, date_start, @@ -54,8 +55,9 @@ class Database: task_id, project_id, author_id - ) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)""", + ) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)""", ( + act.id, act.description, act.time_spent, act.date_start,