Set default when changing afl_namespace on pg

Bug: T185335
Change-Id: I91fa0bf316a920b21b541eed1d2a837d34ad5683
This commit is contained in:
Reedy 2018-01-19 20:13:28 +00:00
parent 11e87e7d8b
commit 459673c9c7

View file

@ -602,7 +602,7 @@ class AbuseFilterHooks {
$updater->addExtensionUpdate( [
'addPgExtIndex', 'abuse_filter_log', 'abuse_filter_log_wiki', "(afl_wiki)" ] );
$updater->addExtensionUpdate( [
'changeField', 'abuse_filter_log', 'afl_namespace', "INTEGER" ] );
'changeField', 'abuse_filter_log', 'afl_namespace', "INTEGER", '' ] );
}
$updater->addExtensionUpdate( [ [ __CLASS__, 'createAbuseFilterUser' ] ] );