dev #10
4
db/db.py
4
db/db.py
@@ -44,6 +44,7 @@ class Database:
|
|||||||
try:
|
try:
|
||||||
self.cursor.execute(
|
self.cursor.execute(
|
||||||
"""INSERT INTO activity(
|
"""INSERT INTO activity(
|
||||||
|
id,
|
||||||
description,
|
description,
|
||||||
time_spent,
|
time_spent,
|
||||||
date_start,
|
date_start,
|
||||||
@@ -54,8 +55,9 @@ class Database:
|
|||||||
task_id,
|
task_id,
|
||||||
project_id,
|
project_id,
|
||||||
author_id
|
author_id
|
||||||
) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)""",
|
) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)""",
|
||||||
(
|
(
|
||||||
|
act.id,
|
||||||
act.description,
|
act.description,
|
||||||
act.time_spent,
|
act.time_spent,
|
||||||
act.date_start,
|
act.date_start,
|
||||||
|
|||||||
Reference in New Issue
Block a user