add index is_admin column, and more improving.

This commit is contained in:
BJRambo 2016-03-14 11:10:43 +09:00
parent e9acd7fe14
commit 39cc333f33
5 changed files with 14 additions and 16 deletions

View file

@ -335,6 +335,7 @@ class document extends ModuleObject
if(!$oDB->isColumnExists('document_update_log', 'is_admin'))
{
$oDB->addColumn('document_update_log', 'is_admin', 'varchar', 1);
$oDB->addIndex('document_update_log', 'idx_is_admin', array('is_admin'));
}
return new Object(0,'success_updated');