26f8afa3db
Wiki ingest builds postprocess.wiki.page[<slug>] subspan names that can exceed varchar(64); widen the column to 255 and hash-suffix truncation so long slugs still persist distinctly. Co-authored-by: Cursor <cursoragent@cursor.com>
7 lines
323 B
SQL
7 lines
323 B
SQL
DO $$ BEGIN RAISE NOTICE '[Migration 000066 down] Reverting knowledge_processing_spans.name to VARCHAR(64)...'; END $$;
|
|
|
|
ALTER TABLE knowledge_processing_spans
|
|
ALTER COLUMN name TYPE VARCHAR(64) USING LEFT(name, 64);
|
|
|
|
DO $$ BEGIN RAISE NOTICE '[Migration 000066 down] knowledge_processing_spans.name reverted'; END $$;
|