mirror of
https://github.com/coder/coder.git
synced 2026-11-01 21:13:14 +08:00
fix: revert update on chat messages table (#28552)
Reverts commit a2459f8dda from #28319
("fix(coderd/database): stamp existing vectors simple and match config
explicitly").
Note: #28319 was squash-merged, so this reverts only that commit's diff,
not the entire PR.
This directly edits a migration on main due to issues with the
previously merged migration taking too long on large tables.
This commit is contained in:
Generated
+1
-1
@@ -2067,7 +2067,7 @@ COMMENT ON COLUMN chat_messages.reasoning_effort IS 'Stores the selected effort
|
||||
|
||||
COMMENT ON COLUMN chat_messages.search_tsv IS 'Used for full text search. NULL initially, populated async via background job.';
|
||||
|
||||
COMMENT ON COLUMN chat_messages.search_tsv_config IS 'Text search config that produced search_tsv. NULL means the vector was written by a binary that predates this column; the dbpurge sweep re-vectorizes rows whose config is not english.';
|
||||
COMMENT ON COLUMN chat_messages.search_tsv_config IS 'Text search config that produced search_tsv. NULL means an unknown config (a pre-migration vector or one written by an old binary); the dbpurge sweep re-vectorizes such rows.';
|
||||
|
||||
CREATE SEQUENCE chat_messages_id_seq
|
||||
START WITH 1
|
||||
|
||||
Reference in New Issue
Block a user