mirror of
https://github.com/openai/codex.git
synced 2026-04-29 08:56:38 +00:00
6 lines
193 B
SQL
6 lines
193 B
SQL
ALTER TABLE threads ADD COLUMN first_user_message TEXT NOT NULL DEFAULT '';
|
|
|
|
UPDATE threads
|
|
SET first_user_message = title
|
|
WHERE first_user_message = '' AND has_user_event = 1 AND title <> '';
|