feat: Enhance project task management with expandable notes and descriptions, and add date_started column for task tracking

This commit is contained in:
Chop
2025-06-19 22:01:39 +02:00
parent 78b2474a9f
commit d40af1ff31
3 changed files with 273 additions and 158 deletions

View File

@@ -126,7 +126,6 @@ export default function initializeDatabase() {
} catch (e) {
// Column already exists, ignore error
}
// Migration: Copy data from geo_info to coordinates and drop geo_info
try {
db.exec(`
@@ -138,4 +137,13 @@ export default function initializeDatabase() {
} catch (e) {
// Column migration already done or geo_info doesn't exist, ignore error
}
// Migration: Add date_started column to project_tasks table
try {
db.exec(`
ALTER TABLE project_tasks ADD COLUMN date_started TEXT;
`);
} catch (e) {
// Column already exists, ignore error
}
}