mirror of
https://github.com/openai/codex.git
synced 2026-09-05 15:18:41 +00:00
7 lines
169 B
SQL
7 lines
169 B
SQL
ALTER TABLE threads ADD COLUMN name TEXT;
|
|
|
|
UPDATE threads
|
|
SET name = title
|
|
WHERE title <> ''
|
|
AND (first_user_message = '' OR trim(title) <> trim(first_user_message));
|