PEP-230: имя колонки разговора в правке базы

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
peppa-bot 2026-11-21 18:31:07 +05:00
parent 379ae6a845
commit af542c8167

View File

@ -90,7 +90,7 @@ update projects set workspace_path = '$H/workspaces/' || slug;
update projects set gitea_owner = 'peppa-bot' where gitea_owner = 'peppa';
update tasks set pr_url = replace(replace(pr_url, '$OLD/peppa/peppa/', '$NEW/peppa-bot/peppa/'), '$OLD/', '$NEW/') where pr_url like '$OLD/%';
update settings set value = replace(replace(value, '$OLD/peppa/peppa/', '$NEW/peppa-bot/peppa/'), '$OLD/', '$NEW/') where value like '%$OLD/%';
update sessions set conversation_id = null, workspace_path = null where status not in ('done', 'failed');
update sessions set claude_session_id = null, workspace_path = null, container = null, watch_state = null where status not in ('done', 'failed');
delete from settings where key = 'platform.runner' and value = '{\"isolation\":\"none\"}';
delete from settings where key like 'heartbeat:%';
select 'projects', count(*) from projects where deleted_at is null;