From: Erik Moeller Date: Mon, 11 Oct 2004 03:28:18 +0000 (+0000) Subject: this seems to have sneaked into HEAD somehow, belongs in SCHEMA_WORK only X-Git-Tag: 1.5.0alpha1~1602 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=9662e23755f4fe0360b621098050ba3c45efb608;p=lhc%2Fweb%2Fwiklou.git this seems to have sneaked into HEAD somehow, belongs in SCHEMA_WORK only --- diff --git a/maintenance/archives/patch-remove-old-title-namespace.sql b/maintenance/archives/patch-remove-old-title-namespace.sql deleted file mode 100644 index 8e1b9dbbee..0000000000 --- a/maintenance/archives/patch-remove-old-title-namespace.sql +++ /dev/null @@ -1,16 +0,0 @@ --- remove old_title and old_namespace, replace with old_articleid - -ALTER TABLE old - DROP COLUMN old_title, - DROP COLUMN old_namespace, - ADD COLUMN old_articleid INT(8) UNSIGNED NOT NULL; - -UPDATE old,cur - SET old_articleid=cur_id - WHERE old_title=cur_title - AND old_namespace=cur_namespace; - -DROP INDEX name_title_timestamp ON old; -DROP INDEX name_title ON old; -CREATE INDEX articleid_timestamp ON old (old_articleid, old_timestamp); -CREATE INDEX articleid ON old (old_articleid);