mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 14:52:24 +09:00
reverse merge from 1.6.0 (r10064)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10702 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fe75a29691
commit
3629fadab8
2 changed files with 8 additions and 1 deletions
|
|
@ -25,6 +25,8 @@
|
|||
// 2009. 02. 11 menu added to the table site_srl
|
||||
if(!$oDB->isColumnExists('menu', 'site_srl')) return true;
|
||||
|
||||
// 2012. 02. 01 title index check
|
||||
if(!$oDB->isIndexExists("menu", "idx_title")) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -38,6 +40,11 @@
|
|||
$oDB->addColumn('menu','site_srl','number',11,0,true);
|
||||
}
|
||||
|
||||
// 2012. 02. 01 title index check
|
||||
if(!$oDB->isIndexExists("menu","idx_title")) {
|
||||
$oDB->addIndex('menu', 'idx_title', array('title'));
|
||||
}
|
||||
|
||||
return new Object(0, 'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue