mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 15:52:17 +09:00
original_type로 column 이름 변경
This commit is contained in:
parent
1fcba0a44c
commit
c2025c4bde
6 changed files with 72 additions and 72 deletions
|
|
@ -85,7 +85,7 @@ class file extends ModuleObject
|
|||
{
|
||||
return true;
|
||||
}
|
||||
if(!$oDB->isColumnExists('files', 'original_filename'))
|
||||
if(!$oDB->isColumnExists('files', 'original_type'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
@ -168,9 +168,9 @@ class file extends ModuleObject
|
|||
{
|
||||
$oModuleController->insertTrigger('comment.copyCommentByDocument', 'file', 'controller', 'triggerAddCopyCommentByDocument', 'add');
|
||||
}
|
||||
if(!$oDB->isColumnExists('files', 'original_filename'))
|
||||
if(!$oDB->isColumnExists('files', 'original_type'))
|
||||
{
|
||||
$oDB->addColumn('files', 'original_filename', 'varchar', '250');
|
||||
$oDB->addColumn('files', 'original_type', 'varchar', '60');
|
||||
}
|
||||
if(!$oDB->isColumnExists('files', 'thumbnail_filename'))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue