feat: implement ProjectTasksList component and update ProjectTasksPage to use it
feat: add date_completed column to project_tasks table in database initialization feat: update project task status to set date_completed when marking as completed
This commit is contained in:
@@ -145,7 +145,6 @@ export default function initializeDatabase() {
|
||||
} catch (e) {
|
||||
// Column already exists, ignore error
|
||||
}
|
||||
|
||||
// Migration: Add is_system column to notes table
|
||||
try {
|
||||
db.exec(`
|
||||
@@ -154,4 +153,13 @@ export default function initializeDatabase() {
|
||||
} catch (e) {
|
||||
// Column already exists, ignore error
|
||||
}
|
||||
|
||||
// Migration: Add date_completed column to project_tasks table
|
||||
try {
|
||||
db.exec(`
|
||||
ALTER TABLE project_tasks ADD COLUMN date_completed TEXT;
|
||||
`);
|
||||
} catch (e) {
|
||||
// Column already exists, ignore error
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user