From: csteipp Date: Mon, 3 Mar 2014 21:31:25 +0000 (-0800) Subject: Add Updater for Oracle X-Git-Tag: 1.31.0-rc.0~16760^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=dbba0afd388f56a012b652a79086d9952334b0b9;p=lhc%2Fweb%2Fwiklou.git Add Updater for Oracle Bug: 61015 Change-Id: I748d7531be90155d8b99472d3459e46ce4855f07 --- diff --git a/includes/installer/OracleUpdater.php b/includes/installer/OracleUpdater.php index 6c56b3a345..02116eada2 100644 --- a/includes/installer/OracleUpdater.php +++ b/includes/installer/OracleUpdater.php @@ -96,6 +96,7 @@ class OracleUpdater extends DatabaseUpdater { //1.23 array( 'addIndex', 'logging', 'i06', 'patch-logging_user_text_type_time_index.sql' ), array( 'addIndex', 'logging', 'i07', 'patch-logging_user_text_time_index.sql' ), + array( 'addField', 'user', 'user_password_expires', 'patch-user_password_expire.sql' ), // KEEP THIS AT THE BOTTOM!! array( 'doRebuildDuplicateFunction' ), diff --git a/maintenance/oracle/archives/patch-user_password_expire.sql b/maintenance/oracle/archives/patch-user_password_expire.sql new file mode 100644 index 0000000000..8e752dae4e --- /dev/null +++ b/maintenance/oracle/archives/patch-user_password_expire.sql @@ -0,0 +1,3 @@ +define mw_prefix='{$wgDBprefix}'; + +ALTER TABLE &mw_prefix.mwuser ADD user_password_expires TIMESTAMP(6) WITH TIME ZONE NULL DEFAULT NULL;