refactor(models): refactor task model to reflect schema field names

This commit is contained in:
2025-04-14 15:06:31 +01:00
parent 713c8e5137
commit 0e0ca6d16a
3 changed files with 40 additions and 38 deletions

View File

@@ -74,11 +74,11 @@ class TaskRepository implements TaskDao
return $stmt->execute([
1, // Mock user ID for now, we haven't implemented authentication yet
Carbon::now(),
$task->getTitle(),
$task->getName(),
$task->getDescription(),
$task->getStartDt(),
$task->getEndDt(),
$task->getStatus(),
$task->getStart(),
$task->getEnd(),
$task->getStatusId(),
$task->getTaskId()
]);
}