mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
added a column for administrators.
This commit is contained in:
parent
3272c5a021
commit
9c653d210b
10 changed files with 59 additions and 7 deletions
|
|
@ -127,6 +127,9 @@ class document extends ModuleObject
|
|||
// 2016. 1. 27: Add a column(declare_message) for report
|
||||
if(!$oDB->isColumnExists("document_declared_log","declare_message")) return true;
|
||||
|
||||
// 2016. 3. 14 Add a column(document_upate_log) for admin
|
||||
if(!$oDB->isColumnExists('document_update_log', 'is_admin')) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -328,6 +331,12 @@ class document extends ModuleObject
|
|||
$oDB->addColumn('document_declared_log',"declare_message","text");
|
||||
}
|
||||
|
||||
// 2016. 3. 14 Add a column(document_update_log) for admin
|
||||
if(!$oDB->isColumnExists('document_update_log', 'is_admin'))
|
||||
{
|
||||
$oDB->addColumn('document_update_log', 'is_admin', 'varchar', 1);
|
||||
}
|
||||
|
||||
return new Object(0,'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue