X-Git-Url: http://www.andromeda.nl/gitweb/?a=blobdiff_plain;f=src%2Fgcm_daemon%2Fclasses%2Fgnucomo_db_version.php;h=caea052a4bb72c8ffb7fcab7b0eb7e6b88dc835a;hb=e9fa065dcae32230ceffadcf498cbfdeb323aeb7;hp=ff05e7ee6a5ba185bd229ad7dc289886d749ec18;hpb=8ab2114789f2ceaeae52438a9532703a610e04a8;p=gnucomo.git diff --git a/src/gcm_daemon/classes/gnucomo_db_version.php b/src/gcm_daemon/classes/gnucomo_db_version.php index ff05e7e..caea052 100644 --- a/src/gcm_daemon/classes/gnucomo_db_version.php +++ b/src/gcm_daemon/classes/gnucomo_db_version.php @@ -425,6 +425,10 @@ case 40: $local_sql = "CREATE INDEX obj_stat_objid ON object_statistics USING btree (objectid)"; $dbms->query($local_sql); +case 41: + $local_sql = "CREATE INDEX history_pid_mod ON history(paramid, modified)"; + $dbms->query($local_sql); + //These columns have to be removed when a new version of PGSQL has become mainstream that supportsa DROP COLUMN /*