@@ -523,8 +523,8 @@ export function run(options: Options = {}): Effect.Effect<RunResult, never, Data
523523 if ( ! ( yield * hasLegacySessions ( db ) ) ) return { status : "completed" as const }
524524 const now = Date . now ( )
525525 yield * db . run ( sql `
526- INSERT OR IGNORE INTO project (id, worktree, time_created, time_updated, sandboxes)
527- VALUES (${ Project . ID . global } , ${ path . parse ( global . data ) . root } , ${ now } , ${ now } , '[]')
526+ INSERT OR IGNORE INTO project (id, worktree, time_created, time_updated, time_active, sandboxes)
527+ VALUES (${ Project . ID . global } , ${ path . parse ( global . data ) . root } , ${ now } , ${ now } , ${ now } , '[]')
528528 ` )
529529 if ( state === undefined )
530530 yield * db
@@ -753,11 +753,11 @@ function importNextDatabase(
753753 yield * tx . run ( sql `
754754 INSERT OR IGNORE INTO project (
755755 id, worktree, vcs, name, icon_url, icon_url_override, icon_color,
756- time_created, time_updated, time_initialized, sandboxes, commands
756+ time_created, time_updated, time_initialized, time_active, sandboxes, commands
757757 ) VALUES (
758758 ${ project . id } , ${ project . worktree } , ${ project . vcs } , ${ project . name } , ${ project . icon_url } ,
759759 ${ project . icon_url_override } , ${ project . icon_color } , ${ project . time_created } , ${ project . time_updated } ,
760- ${ project . time_initialized } , ${ project . sandboxes } , ${ project . commands }
760+ ${ project . time_initialized } , ${ project . time_updated } , ${ project . sandboxes } , ${ project . commands }
761761 )
762762 ` )
763763 const existing = yield * tx
0 commit comments