Add index on rc_this_oldid
[lhc/web/wiklou.git] / includes / installer / PostgresUpdater.php
index 932c941..e8663fb 100644 (file)
@@ -590,6 +590,7 @@ class PostgresUpdater extends DatabaseUpdater {
                        [ 'addIndex', 'interwiki', 'interwiki_pkey', 'patch-interwiki-pk.sql' ],
                        [ 'addIndex', 'protected_titles', 'protected_titles_pkey', 'patch-protected_titles-pk.sql' ],
                        [ 'addIndex', 'site_identifiers', 'site_identifiers_pkey', 'patch-site_identifiers-pk.sql' ],
+                       [ 'addPgIndex', 'recentchanges', 'rc_this_oldid', '(rc_this_oldid)' ],
                ];
        }