mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
check documents.extra_vars column existing
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3146 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4c418919f4
commit
7a676e12b7
1 changed files with 11 additions and 0 deletions
|
|
@ -84,6 +84,12 @@
|
|||
// 2007. 11. 20 게시글에 module_srl + is_notice 복합인덱스 만들기
|
||||
if(!$oDB->isIndexExists("documents","idx_module_notice")) return true;
|
||||
|
||||
/**
|
||||
* 2007. 12. 03 : 확장변수(extra_vars) 컬럼이 없을 경우 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("documents","extra_vars")) return true;
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -157,6 +163,11 @@
|
|||
// 2007. 11. 20 게시글에 module_srl + is_notice 복합인덱스 만들기
|
||||
if(!$oDB->isIndexExists("documents","idx_module_notice")) $oDB->addIndex("documents","idx_module_notice", array("module_srl","is_notice"));
|
||||
|
||||
/**
|
||||
* 2007. 12. 03 : 확장변수(extra_vars) 컬럼이 없을 경우 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("documents","extra_vars")) $oDB->addColumn('documents','extra_vars','text');
|
||||
|
||||
return new Object(0,'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue