mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-22 06:28:19 +02:00
Merge pull request #247 from R0m1k3/1.1
Correct date handling for task due dates to prevent errors
This commit is contained in:
2 files changed
+1
-1
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 271 KiB |
+1
-1
@@ -248,7 +248,7 @@ export const tasks = pgTable("tasks", {
|
|||||||
id: serial("id").primaryKey(),
|
id: serial("id").primaryKey(),
|
||||||
title: varchar("title").notNull(), // Titre de la tâche (requis)
|
title: varchar("title").notNull(), // Titre de la tâche (requis)
|
||||||
description: text("description"), // Description de la tâche (optionnel)
|
description: text("description"), // Description de la tâche (optionnel)
|
||||||
dueDate: timestamp("due_date"), // Date d'échéance (optionnel)
|
dueDate: date("due_date"), // Date d'échéance (optionnel)
|
||||||
priority: varchar("priority").notNull().default("medium"), // low, medium, high
|
priority: varchar("priority").notNull().default("medium"), // low, medium, high
|
||||||
status: varchar("status").notNull().default("pending"), // pending, completed
|
status: varchar("status").notNull().default("pending"), // pending, completed
|
||||||
assignedTo: text("assigned_to").notNull(), // Utilisateur responsable (champ libre)
|
assignedTo: text("assigned_to").notNull(), // Utilisateur responsable (champ libre)
|
||||||
|
|||||||
Reference in new issue
Block a user