Creation of indexes on several columns (exploited for a few classes when it was obvious)

SVN:trunk[2924]
This commit is contained in:
Romain Quetiez
2013-10-16 15:21:20 +00:00
parent eda203af26
commit 401d61aa76
7 changed files with 140 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
<?php
// Copyright (C) 2010-2012 Combodo SARL
// Copyright (C) 2010-2013 Combodo SARL
//
// This file is part of iTop.
//
@@ -45,6 +45,9 @@ class CMDBChangeOp extends DBObject
"db_table" => "priv_changeop",
"db_key_field" => "id",
"db_finalclass_field" => "optype",
'indexes' => array(
array('objclass', 'objkey'),
)
);
MetaModel::Init_Params($aParams);
//MetaModel::Init_InheritAttributes();