fix(04): add active_session_id and project_id to ensureOptionalColumns
Migration 13 columns were skipped when ensureOptionalColumns added checkout_run_id first, triggering 'duplicate column' catch that marked the entire migration as applied without running remaining ALTERs.
This commit is contained in:
1 parent
930273ce87
commit
2be909b67c
1 file changed
+2
@@ -2553,6 +2553,8 @@ export class AppDatabase {
|
||||
addColumnIfMissing("alter table tasks add column last_failure_at text");
|
||||
addColumnIfMissing("alter table tasks add column checkout_run_id text");
|
||||
addColumnIfMissing("alter table tasks add column execution_locked_at text");
|
||||
addColumnIfMissing("alter table tasks add column active_session_id text");
|
||||
addColumnIfMissing("alter table cost_entries add column project_id text");
|
||||
this.db.exec(`
|
||||
create table if not exists task_comments (
|
||||
id text primary key,
|
||||
|
||||
Reference in new issue
Block a user