X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Finstaller%2FMssqlUpdater.php;h=411d2c8cb23b64dd323a4d1bd61be1b8cbf13430;hb=84890fea50524562350d3038a046ce1b92e4f9c4;hp=b4de44dcfb77abc501f02a0e5748441faafa6806;hpb=be656c67a2dde9924e8558563162616ab3ab88dc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/MssqlUpdater.php b/includes/installer/MssqlUpdater.php index b4de44dcfb..411d2c8cb2 100644 --- a/includes/installer/MssqlUpdater.php +++ b/includes/installer/MssqlUpdater.php @@ -104,6 +104,7 @@ class MssqlUpdater extends DatabaseUpdater { // 1.30 [ 'modifyField', 'image', 'img_media_type', 'patch-add-3d.sql' ], + [ 'addIndex', 'site_stats', 'PRIMARY', 'patch-site_stats-pk.sql' ], ]; } @@ -125,6 +126,7 @@ class MssqlUpdater extends DatabaseUpdater { * @param string $updatekey * @param string $patch * @param bool $fullpath + * @return bool */ protected function updateSchema( $table, $updatekey, $patch, $fullpath = false ) { if ( !$this->db->tableExists( $table, __METHOD__ ) ) {