For MySQL/Sqlite, drop the table options, they are for MySQL < 5.0 which was released in 2003 and not any use today. For Postgres, rename pagecontent table to text, approved as part of the RFC. Swap order of creating auto-generated tables and manual tables. Bug: T230428 Bug: T164898 Change-Id: Id7510b80beed7a7297353094a57d5e2d4f12fc64
5 lines
231 B
SQL
5 lines
231 B
SQL
UPDATE /*_*/text SET textvector=to_tsvector(old_text)
|
|
WHERE textvector IS NULL AND old_id IN
|
|
(SELECT max(rev_text_id) FROM revision GROUP BY rev_page);
|
|
|
|
INSERT INTO /*_*/updatelog(ul_key) VALUES ('patch-textsearch_bug66650.sql');
|