feat: Add start date and completion date fields to project model and forms

This commit is contained in:
2026-01-22 20:22:27 +01:00
parent 3d2065d8fb
commit d49bea8f15
6 changed files with 69 additions and 10 deletions

View File

@@ -289,6 +289,14 @@ export default function initializeDatabase() {
// Column already exists, ignore error
}
try {
db.exec(`
ALTER TABLE projects ADD COLUMN start_date TEXT;
`);
} catch (e) {
// Column already exists, ignore error
}
// Migration: Update task status system - add 'not_started' status
// DISABLED: This migration was running on every init and converting legitimate
// 'pending' tasks back to 'not_started'. The initial migration has been completed.