diff options
Diffstat (limited to 'www/wiki/maintenance/oracle/archives/patch-drop-ar_text.sql')
-rw-r--r-- | www/wiki/maintenance/oracle/archives/patch-drop-ar_text.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/www/wiki/maintenance/oracle/archives/patch-drop-ar_text.sql b/www/wiki/maintenance/oracle/archives/patch-drop-ar_text.sql new file mode 100644 index 00000000..40b04786 --- /dev/null +++ b/www/wiki/maintenance/oracle/archives/patch-drop-ar_text.sql @@ -0,0 +1,7 @@ +-- T33223: Remove obsolete ar_text and ar_flags columns +-- (and make ar_text_id not nullable and default 0) + +define mw_prefix='{$wgDBprefix}'; + +ALTER TABLE &mw_prefix.archive DROP (ar_text, ar_flags); +ALTER TABLE &mw_prefix.archive MODIFY ar_text_id NUMBER DEFAULT 0 NOT NULL; |