X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/18a6620945d02687fbcfc4c27355d952fd748b41..90707c05fca287b2d361b674ed1bc32ab90886b4:/maintenance/oracle/archives/patch_remove_not_null_empty_defs.sql diff --git a/maintenance/oracle/archives/patch_remove_not_null_empty_defs.sql b/maintenance/oracle/archives/patch_remove_not_null_empty_defs.sql new file mode 100644 index 00000000..76e50a0a --- /dev/null +++ b/maintenance/oracle/archives/patch_remove_not_null_empty_defs.sql @@ -0,0 +1,9 @@ +define mw_prefix='{$wgDBprefix}'; + +ALTER TABLE &mw_prefix.categorylinks MODIFY cl_sortkey_prefix DEFAULT NULL NULL; +ALTER TABLE &mw_prefix.categorylinks MODIFY cl_collation DEFAULT NULL NULL; +ALTER TABLE &mw_prefix.iwlinks MODIFY iwl_prefix DEFAULT NULL NULL; +ALTER TABLE &mw_prefix.iwlinks MODIFY iwl_title DEFAULT NULL NULL; +ALTER TABLE &mw_prefix.searchindex MODIFY si_title DEFAULT NULL NULL; +ALTER TABLE &mw_prefix.querycachetwo MODIFY qcc_title DEFAULT NULL NULL; +ALTER TABLE &mw_prefix.querycachetwo MODIFY qcc_titletwo DEFAULT NULL NULL;