add mskin to schema

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7567 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-06-30 06:25:39 +00:00
parent 7e31f7c06e
commit b44de307e6
6 changed files with 9 additions and 0 deletions

View file

@ -77,6 +77,7 @@
if(!$oDB->isColumnExists("modules", "use_mobile")) return true;
if(!$oDB->isColumnExists("modules", "mlayout_srl")) return true;
if(!$oDB->isColumnExists("modules", "mcontent")) return true;
if(!$oDB->isColumnExists("modules", "mskin")) return true;
return false;
}
@ -311,6 +312,9 @@
if(!$oDB->isColumnExists("modules", "mcontent")) {
$oDB->addColumn('modules','mcontent','bigtext');
}
if(!$oDB->isColumnExists("modules", "mskin")) {
$oDB->addColumn('modules','mskin','varchar',250);
}
return new Object(0, 'success_updated');
}