PM-1695 Crear nuevo endpoint para el contador de casos
This commit is contained in:
@@ -992,12 +992,11 @@ class Cases
|
|||||||
if (isset($Fields["APP_STATUS"]) && $Fields["APP_STATUS"] == "COMPLETED") {
|
if (isset($Fields["APP_STATUS"]) && $Fields["APP_STATUS"] == "COMPLETED") {
|
||||||
if (isset($Fields['CURRENT_USER_UID'])) {
|
if (isset($Fields['CURRENT_USER_UID'])) {
|
||||||
$Fields['USR_UID'] = $Fields['CURRENT_USER_UID'];
|
$Fields['USR_UID'] = $Fields['CURRENT_USER_UID'];
|
||||||
/*This "list" code is discussed to operate with sub-processes. It should adjust the code for operation with sub-processes.
|
|
||||||
$listCompleted = new ListCompleted();
|
|
||||||
$listCompleted->create($Fields);
|
|
||||||
$listMyInbox = new ListMyInbox();
|
|
||||||
$listMyInbox->refresh($Fields);*/
|
|
||||||
}
|
}
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
$completed = new ListCompleted();
|
||||||
|
$completed->create($Fields);
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
}
|
}
|
||||||
$oApp->update($Fields);
|
$oApp->update($Fields);
|
||||||
|
|
||||||
@@ -2040,6 +2039,18 @@ class Cases
|
|||||||
if ($this->appSolr != null) {
|
if ($this->appSolr != null) {
|
||||||
$this->appSolr->updateApplicationSearchIndex($sAppUid);
|
$this->appSolr->updateApplicationSearchIndex($sAppUid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
$Fields['TAS_UID'] = $sTasUid;
|
||||||
|
$Fields['USR_UID'] = $sUsrUid;
|
||||||
|
$Fields['DEL_INDEX'] = $iDelIndex;
|
||||||
|
$Fields['APP_STATUS'] = 'TO_DO';
|
||||||
|
if(!$isSubprocess){
|
||||||
|
$Fields['APP_STATUS'] = 'DRAFT';
|
||||||
|
}
|
||||||
|
$inbox = new ListInbox();
|
||||||
|
$inbox->newRow($Fields, $sUsrUid);
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
} catch (exception $e) {
|
} catch (exception $e) {
|
||||||
throw ($e);
|
throw ($e);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -748,8 +748,17 @@ class Derivation
|
|||||||
//SETS THE APP_PROC_CODE
|
//SETS THE APP_PROC_CODE
|
||||||
//if (isset($nextDel['TAS_DEF_PROC_CODE']))
|
//if (isset($nextDel['TAS_DEF_PROC_CODE']))
|
||||||
//$appFields['APP_PROC_CODE'] = $nextDel['TAS_DEF_PROC_CODE'];
|
//$appFields['APP_PROC_CODE'] = $nextDel['TAS_DEF_PROC_CODE'];
|
||||||
unset( $aSP );
|
|
||||||
|
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
if (!empty($iNewDelIndex) && empty($aSP)) {
|
||||||
|
$oAppDel = AppDelegationPeer::retrieveByPK( $appFields['APP_UID'], $iNewDelIndex );
|
||||||
|
$aFields = $oAppDel->toArray( BasePeer::TYPE_FIELDNAME );
|
||||||
|
$aFields['APP_STATUS'] = $currentDelegation['APP_STATUS'];
|
||||||
|
$inbox = new ListInbox();
|
||||||
|
$inbox->newRow($aFields, $nextDel['USR_UID']);
|
||||||
|
}
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
unset( $aSP );
|
||||||
} //end foreach
|
} //end foreach
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -151,16 +151,6 @@ class AppDelegation extends BaseAppDelegation
|
|||||||
if ($this->validate()) {
|
if ($this->validate()) {
|
||||||
try {
|
try {
|
||||||
$res = $this->save();
|
$res = $this->save();
|
||||||
|
|
||||||
/*----------------------------------********---------------------------------*/
|
|
||||||
$task = TaskPeer::retrieveByPK( $this->getTasUid() );
|
|
||||||
$taskType = $task->getTasType();
|
|
||||||
if($taskType == 'NORMAL'){
|
|
||||||
$inbox = new ListInbox();
|
|
||||||
$res = $this->toArray(BasePeer::TYPE_FIELDNAME);
|
|
||||||
$inbox->newRow($this->toArray(BasePeer::TYPE_FIELDNAME), $delPreviusUsrUid);
|
|
||||||
}
|
|
||||||
/*----------------------------------********---------------------------------*/
|
|
||||||
} catch (PropelException $e) {
|
} catch (PropelException $e) {
|
||||||
throw ($e);
|
throw ($e);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,6 +86,21 @@ class ListCompleted extends BaseListCompleted
|
|||||||
$data['DEL_PREVIOUS_USR_UID'] = $aRow['USR_UID'];
|
$data['DEL_PREVIOUS_USR_UID'] = $aRow['USR_UID'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Update - WHERE
|
||||||
|
$criteriaWhere = new Criteria("workflow");
|
||||||
|
$criteriaWhere->add(ListParticipatedLastPeer::APP_UID, $data["APP_UID"], Criteria::EQUAL);
|
||||||
|
//Update - SET
|
||||||
|
$criteriaSet = new Criteria("workflow");
|
||||||
|
$criteriaSet->add(ListParticipatedLastPeer::APP_STATUS, 'COMPLETED');
|
||||||
|
BasePeer::doUpdate($criteriaWhere, $criteriaSet, Propel::getConnection("workflow"));
|
||||||
|
|
||||||
|
$users = new Users();
|
||||||
|
$users->refreshTotal($data['USR_UID'], 'add', 'completed');
|
||||||
|
if ($data['DEL_PREVIOUS'] != 0) {
|
||||||
|
$users->refreshTotal($data['USR_UID'], 'remove', 'inbox');
|
||||||
|
} else {
|
||||||
|
$users->refreshTotal($data['USR_UID'], 'remove', 'draft');
|
||||||
|
}
|
||||||
$con = Propel::getConnection( ListCompletedPeer::DATABASE_NAME );
|
$con = Propel::getConnection( ListCompletedPeer::DATABASE_NAME );
|
||||||
try {
|
try {
|
||||||
$this->fromArray( $data, BasePeer::TYPE_FIELDNAME );
|
$this->fromArray( $data, BasePeer::TYPE_FIELDNAME );
|
||||||
|
|||||||
@@ -141,8 +141,9 @@ class ListInbox extends BaseListInbox
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function newRow ($data, $delPreviusUsrUid) {
|
public function newRow ($data, $delPreviusUsrUid)
|
||||||
|
{
|
||||||
|
$users = new Users();
|
||||||
$data['DEL_PREVIOUS_USR_UID'] = $delPreviusUsrUid;
|
$data['DEL_PREVIOUS_USR_UID'] = $delPreviusUsrUid;
|
||||||
if (isset($data['DEL_TASK_DUE_DATE'])) {
|
if (isset($data['DEL_TASK_DUE_DATE'])) {
|
||||||
$data['DEL_DUE_DATE'] = $data['DEL_TASK_DUE_DATE'];
|
$data['DEL_DUE_DATE'] = $data['DEL_TASK_DUE_DATE'];
|
||||||
@@ -211,8 +212,34 @@ class ListInbox extends BaseListInbox
|
|||||||
$data['DEL_PREVIOUS_USR_LASTNAME'] = $aRow['USR_LASTNAME'];
|
$data['DEL_PREVIOUS_USR_LASTNAME'] = $aRow['USR_LASTNAME'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!isset($data['APP_STATUS']) && $data['DEL_INDEX']>1){
|
|
||||||
$data['APP_STATUS'] = 'TO_DO';
|
if ($data['APP_STATUS'] == 'DRAFT') {
|
||||||
|
$users->refreshTotal($data['USR_UID'], 'add', 'draft');
|
||||||
|
} else {
|
||||||
|
$criteria = new Criteria();
|
||||||
|
$criteria->addSelectColumn(SubApplicationPeer::APP_UID);
|
||||||
|
$criteria->add( SubApplicationPeer::APP_UID, $data['APP_UID'], Criteria::EQUAL );
|
||||||
|
$dataset = SubApplicationPeer::doSelectRS($criteria);
|
||||||
|
if ($dataset->next()) {
|
||||||
|
$users->refreshTotal($delPreviusUsrUid, 'remove', 'inbox');
|
||||||
|
$users->refreshTotal($data['USR_UID'], 'add', 'inbox');
|
||||||
|
} else if ($data['DEL_INDEX'] == 2) {
|
||||||
|
$users->refreshTotal($delPreviusUsrUid, 'remove', 'draft');
|
||||||
|
$users->refreshTotal($data['USR_UID'], 'add', 'inbox');
|
||||||
|
} else {
|
||||||
|
$users->refreshTotal($delPreviusUsrUid, 'remove', 'inbox');
|
||||||
|
$users->refreshTotal($data['USR_UID'], 'add', 'inbox');
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
if ($data['DEL_INDEX'] == 1) {
|
||||||
|
$users->refreshTotal($data['USR_UID'], 'add', 'draft');
|
||||||
|
} elseif ($data['DEL_INDEX'] == 2) {
|
||||||
|
$users->refreshTotal($delPreviusUsrUid, 'remove', 'draft');
|
||||||
|
$users->refreshTotal($data['USR_UID'], 'add', 'inbox');
|
||||||
|
} else {
|
||||||
|
$users->refreshTotal($delPreviusUsrUid, 'remove', 'inbox');
|
||||||
|
$users->refreshTotal($data['USR_UID'], 'add', 'inbox');
|
||||||
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
self::create($data);
|
self::create($data);
|
||||||
|
|||||||
@@ -48,6 +48,8 @@ class ListParticipatedLast extends BaseListParticipatedLast
|
|||||||
$aRow = $dataset->getRow();
|
$aRow = $dataset->getRow();
|
||||||
$data['APP_STATUS'] = $aRow['APP_STATUS'];
|
$data['APP_STATUS'] = $aRow['APP_STATUS'];
|
||||||
|
|
||||||
|
$users = new Users();
|
||||||
|
$users->refreshTotal($data['USR_UID'], 'add', 'participated');
|
||||||
$con = Propel::getConnection( ListParticipatedLastPeer::DATABASE_NAME );
|
$con = Propel::getConnection( ListParticipatedLastPeer::DATABASE_NAME );
|
||||||
try {
|
try {
|
||||||
$this->fromArray( $data, BasePeer::TYPE_FIELDNAME );
|
$this->fromArray( $data, BasePeer::TYPE_FIELDNAME );
|
||||||
@@ -132,6 +134,11 @@ class ListParticipatedLast extends BaseListParticipatedLast
|
|||||||
*/
|
*/
|
||||||
public function remove ($app_uid, $usr_uid)
|
public function remove ($app_uid, $usr_uid)
|
||||||
{
|
{
|
||||||
|
$existField = ListParticipatedLastPeer::retrieveByPK($app_uid, $usr_uid);
|
||||||
|
if (! is_null( $existField )) {
|
||||||
|
$users = new Users();
|
||||||
|
$users->refreshTotal($usr_uid, 'removed', 'participated');
|
||||||
|
}
|
||||||
$con = Propel::getConnection( ListParticipatedLastPeer::DATABASE_NAME );
|
$con = Propel::getConnection( ListParticipatedLastPeer::DATABASE_NAME );
|
||||||
try {
|
try {
|
||||||
$this->setAppUid($app_uid);
|
$this->setAppUid($app_uid);
|
||||||
|
|||||||
@@ -385,5 +385,59 @@ class Users extends BaseUsers
|
|||||||
} while ($aFields['USR_STATUS'] != 'ACTIVE');
|
} while ($aFields['USR_STATUS'] != 'ACTIVE');
|
||||||
return $aFields;
|
return $aFields;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function refreshTotal ($userId, $type = 'add', $list = "inbox", $total = 1)
|
||||||
|
{
|
||||||
|
$nameList = self::getNameTotal($list);
|
||||||
|
$criteria = new Criteria();
|
||||||
|
$criteria->addSelectColumn( $nameList );
|
||||||
|
$criteria->add( UsersPeer::USR_UID, $userId, Criteria::EQUAL );
|
||||||
|
$dataset = ApplicationPeer::doSelectRS($criteria);
|
||||||
|
$dataset->setFetchmode(ResultSet::FETCHMODE_ASSOC);
|
||||||
|
$dataset->next();
|
||||||
|
$aRow = $dataset->getRow();
|
||||||
|
|
||||||
|
$num = $aRow[$nameList];
|
||||||
|
if ($type == 'add') {
|
||||||
|
$num++;
|
||||||
|
} else {
|
||||||
|
$num--;
|
||||||
|
}
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'USR_UID' => $userId,
|
||||||
|
$nameList => $num
|
||||||
|
);
|
||||||
|
self::update($data);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getNameTotal($list = "inbox")
|
||||||
|
{
|
||||||
|
switch ($list) {
|
||||||
|
case 'draft':
|
||||||
|
$return = 'USR_TOTAL_DRAFT';
|
||||||
|
break;
|
||||||
|
case 'canceled':
|
||||||
|
$return = 'USR_TOTAL_CANCELLED';
|
||||||
|
break;
|
||||||
|
case 'participated':
|
||||||
|
$return = 'USR_TOTAL_PARTICIPATED';
|
||||||
|
break;
|
||||||
|
case 'paused':
|
||||||
|
$return = 'USR_TOTAL_PAUSED';
|
||||||
|
break;
|
||||||
|
case 'completed':
|
||||||
|
$return = 'USR_TOTAL_COMPLETED';
|
||||||
|
break;
|
||||||
|
case 'unassigned':
|
||||||
|
$return = 'USR_TOTAL_UNASSIGNED';
|
||||||
|
break;
|
||||||
|
case 'inbox':
|
||||||
|
default:
|
||||||
|
$return = 'USR_TOTAL_INBOX';
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return $return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
require_once 'propel/map/MapBuilder.php';
|
require_once 'propel/map/MapBuilder.php';
|
||||||
include_once 'creole/CreoleTypes.php';
|
include_once 'creole/CreoleTypes.php';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class adds structure of 'LIST_INBOX' table to 'workflow' DatabaseMap object.
|
* This class adds structure of 'LIST_INBOX' table to 'workflow' DatabaseMap object.
|
||||||
*
|
*
|
||||||
@@ -15,7 +16,6 @@ include_once 'creole/CreoleTypes.php';
|
|||||||
*
|
*
|
||||||
* @package workflow.classes.model.map
|
* @package workflow.classes.model.map
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class ListInboxMapBuilder
|
class ListInboxMapBuilder
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -77,7 +77,7 @@ class ListInboxMapBuilder
|
|||||||
|
|
||||||
$tMap->addColumn('APP_NUMBER', 'AppNumber', 'int', CreoleTypes::INTEGER, true, null);
|
$tMap->addColumn('APP_NUMBER', 'AppNumber', 'int', CreoleTypes::INTEGER, true, null);
|
||||||
|
|
||||||
$tMap->addColumn('APP_STATUS', 'AppStatus', 'string', CreoleTypes::VARCHAR, true, 32);
|
$tMap->addColumn('APP_STATUS', 'AppStatus', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||||
|
|
||||||
$tMap->addColumn('APP_TITLE', 'AppTitle', 'string', CreoleTypes::VARCHAR, true, 255);
|
$tMap->addColumn('APP_TITLE', 'AppTitle', 'string', CreoleTypes::VARCHAR, true, 255);
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
require_once 'propel/map/MapBuilder.php';
|
require_once 'propel/map/MapBuilder.php';
|
||||||
include_once 'creole/CreoleTypes.php';
|
include_once 'creole/CreoleTypes.php';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class adds structure of 'LIST_PARTICIPATED_LAST' table to 'workflow' DatabaseMap object.
|
* This class adds structure of 'LIST_PARTICIPATED_LAST' table to 'workflow' DatabaseMap object.
|
||||||
*
|
*
|
||||||
@@ -15,7 +16,6 @@ include_once 'creole/CreoleTypes.php';
|
|||||||
*
|
*
|
||||||
* @package workflow.classes.model.map
|
* @package workflow.classes.model.map
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class ListParticipatedLastMapBuilder
|
class ListParticipatedLastMapBuilder
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@ class ListParticipatedLastMapBuilder
|
|||||||
|
|
||||||
$tMap->addColumn('DEL_PRIORITY', 'DelPriority', 'string', CreoleTypes::VARCHAR, true, 32);
|
$tMap->addColumn('DEL_PRIORITY', 'DelPriority', 'string', CreoleTypes::VARCHAR, true, 32);
|
||||||
|
|
||||||
$tMap->addColumn('DEL_THREAD_STATUS', 'DelThreadStatus', 'string', CreoleTypes::VARCHAR, false, 32);
|
$tMap->addColumn('DEL_THREAD_STATUS', 'DelThreadStatus', 'string', CreoleTypes::VARCHAR, true, 32);
|
||||||
|
|
||||||
} // doBuild()
|
} // doBuild()
|
||||||
|
|
||||||
|
|||||||
@@ -117,6 +117,20 @@ class UsersMapBuilder
|
|||||||
|
|
||||||
$tMap->addColumn('USR_UX', 'UsrUx', 'string', CreoleTypes::VARCHAR, false, 128);
|
$tMap->addColumn('USR_UX', 'UsrUx', 'string', CreoleTypes::VARCHAR, false, 128);
|
||||||
|
|
||||||
|
$tMap->addColumn('USR_TOTAL_INBOX', 'UsrTotalInbox', 'int', CreoleTypes::INTEGER, false, null);
|
||||||
|
|
||||||
|
$tMap->addColumn('USR_TOTAL_DRAFT', 'UsrTotalDraft', 'int', CreoleTypes::INTEGER, false, null);
|
||||||
|
|
||||||
|
$tMap->addColumn('USR_TOTAL_CANCELLED', 'UsrTotalCancelled', 'int', CreoleTypes::INTEGER, false, null);
|
||||||
|
|
||||||
|
$tMap->addColumn('USR_TOTAL_PARTICIPATED', 'UsrTotalParticipated', 'int', CreoleTypes::INTEGER, false, null);
|
||||||
|
|
||||||
|
$tMap->addColumn('USR_TOTAL_PAUSED', 'UsrTotalPaused', 'int', CreoleTypes::INTEGER, false, null);
|
||||||
|
|
||||||
|
$tMap->addColumn('USR_TOTAL_COMPLETED', 'UsrTotalCompleted', 'int', CreoleTypes::INTEGER, false, null);
|
||||||
|
|
||||||
|
$tMap->addColumn('USR_TOTAL_UNASSIGNED', 'UsrTotalUnassigned', 'int', CreoleTypes::INTEGER, false, null);
|
||||||
|
|
||||||
$tMap->addValidator('USR_STATUS', 'validValues', 'propel.validator.ValidValuesValidator', 'ACTIVE|INACTIVE|VACATION|CLOSED', 'Please select a valid type.');
|
$tMap->addValidator('USR_STATUS', 'validValues', 'propel.validator.ValidValuesValidator', 'ACTIVE|INACTIVE|VACATION|CLOSED', 'Please select a valid type.');
|
||||||
|
|
||||||
$tMap->addValidator('USR_STATUS', 'required', 'propel.validator.RequiredValidator', '', 'Type is required.');
|
$tMap->addValidator('USR_STATUS', 'required', 'propel.validator.RequiredValidator', '', 'Type is required.');
|
||||||
|
|||||||
@@ -348,7 +348,7 @@ abstract class BaseHolidayPeer
|
|||||||
$criteria = $values->buildCriteria(); // build Criteria from Holiday object
|
$criteria = $values->buildCriteria(); // build Criteria from Holiday object
|
||||||
}
|
}
|
||||||
|
|
||||||
$criteria->remove(HolidayPeer::HLD_UID); // remove pkey col since this table uses auto-increment
|
//$criteria->remove(HolidayPeer::HLD_UID); // remove pkey col since this table uses auto-increment
|
||||||
|
|
||||||
|
|
||||||
// Set the correct dbName
|
// Set the correct dbName
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ include_once 'propel/util/Criteria.php';
|
|||||||
|
|
||||||
include_once 'classes/model/ListInboxPeer.php';
|
include_once 'classes/model/ListInboxPeer.php';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class that represents a row from the 'LIST_INBOX' table.
|
* Base class that represents a row from the 'LIST_INBOX' table.
|
||||||
*
|
*
|
||||||
@@ -17,7 +16,6 @@ include_once 'classes/model/ListInboxPeer.php';
|
|||||||
*
|
*
|
||||||
* @package workflow.classes.model.om
|
* @package workflow.classes.model.om
|
||||||
*/
|
*/
|
||||||
|
|
||||||
abstract class BaseListInbox extends BaseObject implements Persistent
|
abstract class BaseListInbox extends BaseObject implements Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -69,7 +67,7 @@ abstract class BaseListInbox extends BaseObject implements Persistent
|
|||||||
* The value for the app_status field.
|
* The value for the app_status field.
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $app_status = '';
|
protected $app_status = '0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The value for the app_title field.
|
* The value for the app_title field.
|
||||||
@@ -597,12 +595,13 @@ abstract class BaseListInbox extends BaseObject implements Persistent
|
|||||||
$v = (string) $v;
|
$v = (string) $v;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->app_status !== $v || $v === '') {
|
if ($this->app_status !== $v || $v === '0') {
|
||||||
$this->app_status = $v;
|
$this->app_status = $v;
|
||||||
$this->modifiedColumns[] = ListInboxPeer::APP_STATUS;
|
$this->modifiedColumns[] = ListInboxPeer::APP_STATUS;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // setAppStatus()
|
} // setAppStatus()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the value of [app_title] column.
|
* Set the value of [app_title] column.
|
||||||
*
|
*
|
||||||
@@ -955,7 +954,7 @@ abstract class BaseListInbox extends BaseObject implements Persistent
|
|||||||
$this->setNew(false);
|
$this->setNew(false);
|
||||||
|
|
||||||
// FIXME - using NUM_COLUMNS may be clearer.
|
// FIXME - using NUM_COLUMNS may be clearer.
|
||||||
return $startcol + 19; // 18 = ListInboxPeer::NUM_COLUMNS - ListInboxPeer::NUM_LAZY_LOAD_COLUMNS).
|
return $startcol + 19; // 19 = ListInboxPeer::NUM_COLUMNS - ListInboxPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||||
|
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
throw new PropelException("Error populating ListInbox object", $e);
|
throw new PropelException("Error populating ListInbox object", $e);
|
||||||
@@ -1216,7 +1215,6 @@ abstract class BaseListInbox extends BaseObject implements Persistent
|
|||||||
case 18:
|
case 18:
|
||||||
return $this->getDelPriority();
|
return $this->getDelPriority();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
require_once 'propel/util/BasePeer.php';
|
require_once 'propel/util/BasePeer.php';
|
||||||
// The object class -- needed for instanceof checks in this class.
|
// The object class -- needed for instanceof checks in this class.
|
||||||
// actual class may be a subclass -- as returned by ListInboxPeer::getOMClass()
|
// actual class may be a subclass -- as returned by ListInboxPeer::getOMClass()
|
||||||
include_once 'classes/model/ListInbox.php';
|
include_once 'classes/model/ListInbox.php';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base static class for performing query and update operations on the 'LIST_INBOX' table.
|
* Base static class for performing query and update operations on the 'LIST_INBOX' table.
|
||||||
*
|
*
|
||||||
@@ -14,7 +12,6 @@ include_once 'classes/model/ListInbox.php';
|
|||||||
*
|
*
|
||||||
* @package workflow.classes.model.om
|
* @package workflow.classes.model.om
|
||||||
*/
|
*/
|
||||||
|
|
||||||
abstract class BaseListInboxPeer
|
abstract class BaseListInboxPeer
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -28,7 +25,7 @@ abstract class BaseListInboxPeer
|
|||||||
const CLASS_DEFAULT = 'classes.model.ListInbox';
|
const CLASS_DEFAULT = 'classes.model.ListInbox';
|
||||||
|
|
||||||
/** The total number of columns. */
|
/** The total number of columns. */
|
||||||
const NUM_COLUMNS = 18;
|
const NUM_COLUMNS = 19;
|
||||||
|
|
||||||
/** The number of lazy-loaded columns. */
|
/** The number of lazy-loaded columns. */
|
||||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||||
@@ -115,10 +112,10 @@ abstract class BaseListInboxPeer
|
|||||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||||
*/
|
*/
|
||||||
private static $fieldKeys = array (
|
private static $fieldKeys = array (
|
||||||
BasePeer::TYPE_PHPNAME => array ('AppUid' => 0, 'DelIndex' => 1, 'UsrUid' => 2, 'TasUid' => 3, 'ProUid' => 4, 'AppNumber' => 5, 'AppTitle' => 6, 'AppProTitle' => 7, 'AppTasTitle' => 8, 'AppUpdateDate' => 9, 'DelPreviousUsrUid' => 10, 'DelPreviousUsrUsername' => 11, 'DelPreviousUsrFirstname' => 12, 'DelPreviousUsrLastname' => 13, 'DelDelegateDate' => 14, 'DelInitDate' => 15, 'DelDueDate' => 16, 'DelPriority' => 17, ),
|
BasePeer::TYPE_PHPNAME => array ('AppUid' => 0, 'DelIndex' => 1, 'UsrUid' => 2, 'TasUid' => 3, 'ProUid' => 4, 'AppNumber' => 5, 'AppStatus' => 6, 'AppTitle' => 7, 'AppProTitle' => 8, 'AppTasTitle' => 9, 'AppUpdateDate' => 10, 'DelPreviousUsrUid' => 11, 'DelPreviousUsrUsername' => 12, 'DelPreviousUsrFirstname' => 13, 'DelPreviousUsrLastname' => 14, 'DelDelegateDate' => 15, 'DelInitDate' => 16, 'DelDueDate' => 17, 'DelPriority' => 18, ),
|
||||||
BasePeer::TYPE_COLNAME => array (ListInboxPeer::APP_UID => 0, ListInboxPeer::DEL_INDEX => 1, ListInboxPeer::USR_UID => 2, ListInboxPeer::TAS_UID => 3, ListInboxPeer::PRO_UID => 4, ListInboxPeer::APP_NUMBER => 5, ListInboxPeer::APP_STATUS => 6, ListInboxPeer::APP_TITLE => 7, ListInboxPeer::APP_PRO_TITLE => 8, ListInboxPeer::APP_TAS_TITLE => 9, ListInboxPeer::APP_UPDATE_DATE => 10, ListInboxPeer::DEL_PREVIOUS_USR_UID => 11, ListInboxPeer::DEL_PREVIOUS_USR_USERNAME => 12, ListInboxPeer::DEL_PREVIOUS_USR_FIRSTNAME => 13, ListInboxPeer::DEL_PREVIOUS_USR_LASTNAME => 14, ListInboxPeer::DEL_DELEGATE_DATE => 15, ListInboxPeer::DEL_INIT_DATE => 16, ListInboxPeer::DEL_DUE_DATE => 17, ListInboxPeer::DEL_PRIORITY => 18, ),
|
BasePeer::TYPE_COLNAME => array (ListInboxPeer::APP_UID => 0, ListInboxPeer::DEL_INDEX => 1, ListInboxPeer::USR_UID => 2, ListInboxPeer::TAS_UID => 3, ListInboxPeer::PRO_UID => 4, ListInboxPeer::APP_NUMBER => 5, ListInboxPeer::APP_STATUS => 6, ListInboxPeer::APP_TITLE => 7, ListInboxPeer::APP_PRO_TITLE => 8, ListInboxPeer::APP_TAS_TITLE => 9, ListInboxPeer::APP_UPDATE_DATE => 10, ListInboxPeer::DEL_PREVIOUS_USR_UID => 11, ListInboxPeer::DEL_PREVIOUS_USR_USERNAME => 12, ListInboxPeer::DEL_PREVIOUS_USR_FIRSTNAME => 13, ListInboxPeer::DEL_PREVIOUS_USR_LASTNAME => 14, ListInboxPeer::DEL_DELEGATE_DATE => 15, ListInboxPeer::DEL_INIT_DATE => 16, ListInboxPeer::DEL_DUE_DATE => 17, ListInboxPeer::DEL_PRIORITY => 18, ),
|
||||||
BasePeer::TYPE_FIELDNAME => array ('APP_UID' => 0, 'DEL_INDEX' => 1, 'USR_UID' => 2, 'TAS_UID' => 3, 'PRO_UID' => 4, 'APP_NUMBER' => 5, 'APP_STATUS' => 6, 'APP_TITLE' => 7, 'APP_PRO_TITLE' => 8, 'APP_TAS_TITLE' => 9, 'APP_UPDATE_DATE' => 10, 'DEL_PREVIOUS_USR_UID' => 11, 'DEL_PREVIOUS_USR_USERNAME' => 12, 'DEL_PREVIOUS_USR_FIRSTNAME' => 13, 'DEL_PREVIOUS_USR_LASTNAME' => 14, 'DEL_DELEGATE_DATE' => 15, 'DEL_INIT_DATE' => 16, 'DEL_DUE_DATE' => 17, 'DEL_PRIORITY' => 18, ),
|
BasePeer::TYPE_FIELDNAME => array ('APP_UID' => 0, 'DEL_INDEX' => 1, 'USR_UID' => 2, 'TAS_UID' => 3, 'PRO_UID' => 4, 'APP_NUMBER' => 5, 'APP_STATUS' => 6, 'APP_TITLE' => 7, 'APP_PRO_TITLE' => 8, 'APP_TAS_TITLE' => 9, 'APP_UPDATE_DATE' => 10, 'DEL_PREVIOUS_USR_UID' => 11, 'DEL_PREVIOUS_USR_USERNAME' => 12, 'DEL_PREVIOUS_USR_FIRSTNAME' => 13, 'DEL_PREVIOUS_USR_LASTNAME' => 14, 'DEL_DELEGATE_DATE' => 15, 'DEL_INIT_DATE' => 16, 'DEL_DUE_DATE' => 17, 'DEL_PRIORITY' => 18, ),
|
||||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 )
|
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, )
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ include_once 'propel/util/Criteria.php';
|
|||||||
|
|
||||||
include_once 'classes/model/ListParticipatedLastPeer.php';
|
include_once 'classes/model/ListParticipatedLastPeer.php';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class that represents a row from the 'LIST_PARTICIPATED_LAST' table.
|
* Base class that represents a row from the 'LIST_PARTICIPATED_LAST' table.
|
||||||
*
|
*
|
||||||
@@ -17,7 +16,6 @@ include_once 'classes/model/ListParticipatedLastPeer.php';
|
|||||||
*
|
*
|
||||||
* @package workflow.classes.model.om
|
* @package workflow.classes.model.om
|
||||||
*/
|
*/
|
||||||
|
|
||||||
abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -35,18 +33,18 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
|||||||
*/
|
*/
|
||||||
protected $app_uid = '';
|
protected $app_uid = '';
|
||||||
|
|
||||||
/**
|
|
||||||
* The value for the del_index field.
|
|
||||||
* @var int
|
|
||||||
*/
|
|
||||||
protected $del_index = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The value for the usr_uid field.
|
* The value for the usr_uid field.
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $usr_uid = '';
|
protected $usr_uid = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The value for the del_index field.
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
protected $del_index = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The value for the tas_uid field.
|
* The value for the tas_uid field.
|
||||||
* @var string
|
* @var string
|
||||||
@@ -159,7 +157,7 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
|||||||
* The value for the del_thread_status field.
|
* The value for the del_thread_status field.
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $del_thread_status = '';
|
protected $del_thread_status = 'OPEN';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Flag to prevent endless save loop, if this object is referenced
|
* Flag to prevent endless save loop, if this object is referenced
|
||||||
@@ -186,17 +184,6 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
|||||||
return $this->app_uid;
|
return $this->app_uid;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the [del_index] column value.
|
|
||||||
*
|
|
||||||
* @return int
|
|
||||||
*/
|
|
||||||
public function getDelIndex()
|
|
||||||
{
|
|
||||||
|
|
||||||
return $this->del_index;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the [usr_uid] column value.
|
* Get the [usr_uid] column value.
|
||||||
*
|
*
|
||||||
@@ -208,6 +195,17 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
|||||||
return $this->usr_uid;
|
return $this->usr_uid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the [del_index] column value.
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getDelIndex()
|
||||||
|
{
|
||||||
|
|
||||||
|
return $this->del_index;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the [tas_uid] column value.
|
* Get the [tas_uid] column value.
|
||||||
*
|
*
|
||||||
@@ -502,28 +500,6 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
|||||||
|
|
||||||
} // setAppUid()
|
} // setAppUid()
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the value of [del_index] column.
|
|
||||||
*
|
|
||||||
* @param int $v new value
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function setDelIndex($v)
|
|
||||||
{
|
|
||||||
|
|
||||||
// Since the native PHP type for this column is integer,
|
|
||||||
// we will cast the input value to an int (if it is not).
|
|
||||||
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
|
||||||
$v = (int) $v;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($this->del_index !== $v || $v === 0) {
|
|
||||||
$this->del_index = $v;
|
|
||||||
$this->modifiedColumns[] = ListParticipatedLastPeer::DEL_INDEX;
|
|
||||||
}
|
|
||||||
|
|
||||||
} // setDelIndex()
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the value of [usr_uid] column.
|
* Set the value of [usr_uid] column.
|
||||||
*
|
*
|
||||||
@@ -546,6 +522,28 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
|||||||
|
|
||||||
} // setUsrUid()
|
} // setUsrUid()
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the value of [del_index] column.
|
||||||
|
*
|
||||||
|
* @param int $v new value
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function setDelIndex($v)
|
||||||
|
{
|
||||||
|
|
||||||
|
// Since the native PHP type for this column is integer,
|
||||||
|
// we will cast the input value to an int (if it is not).
|
||||||
|
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||||
|
$v = (int) $v;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->del_index !== $v || $v === 0) {
|
||||||
|
$this->del_index = $v;
|
||||||
|
$this->modifiedColumns[] = ListParticipatedLastPeer::DEL_INDEX;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // setDelIndex()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the value of [tas_uid] column.
|
* Set the value of [tas_uid] column.
|
||||||
*
|
*
|
||||||
@@ -1004,9 +1002,9 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
|||||||
|
|
||||||
$this->app_uid = $rs->getString($startcol + 0);
|
$this->app_uid = $rs->getString($startcol + 0);
|
||||||
|
|
||||||
$this->del_index = $rs->getInt($startcol + 1);
|
$this->usr_uid = $rs->getString($startcol + 1);
|
||||||
|
|
||||||
$this->usr_uid = $rs->getString($startcol + 2);
|
$this->del_index = $rs->getInt($startcol + 2);
|
||||||
|
|
||||||
$this->tas_uid = $rs->getString($startcol + 3);
|
$this->tas_uid = $rs->getString($startcol + 3);
|
||||||
|
|
||||||
@@ -1586,14 +1584,14 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
|||||||
$criteria->add(ListParticipatedLastPeer::APP_UID, $this->app_uid);
|
$criteria->add(ListParticipatedLastPeer::APP_UID, $this->app_uid);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->isColumnModified(ListParticipatedLastPeer::DEL_INDEX)) {
|
|
||||||
$criteria->add(ListParticipatedLastPeer::DEL_INDEX, $this->del_index);
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($this->isColumnModified(ListParticipatedLastPeer::USR_UID)) {
|
if ($this->isColumnModified(ListParticipatedLastPeer::USR_UID)) {
|
||||||
$criteria->add(ListParticipatedLastPeer::USR_UID, $this->usr_uid);
|
$criteria->add(ListParticipatedLastPeer::USR_UID, $this->usr_uid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->isColumnModified(ListParticipatedLastPeer::DEL_INDEX)) {
|
||||||
|
$criteria->add(ListParticipatedLastPeer::DEL_INDEX, $this->del_index);
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->isColumnModified(ListParticipatedLastPeer::TAS_UID)) {
|
if ($this->isColumnModified(ListParticipatedLastPeer::TAS_UID)) {
|
||||||
$criteria->add(ListParticipatedLastPeer::TAS_UID, $this->tas_uid);
|
$criteria->add(ListParticipatedLastPeer::TAS_UID, $this->tas_uid);
|
||||||
}
|
}
|
||||||
@@ -1736,6 +1734,8 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
|||||||
public function copyInto($copyObj, $deepCopy = false)
|
public function copyInto($copyObj, $deepCopy = false)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
$copyObj->setDelIndex($this->del_index);
|
||||||
|
|
||||||
$copyObj->setTasUid($this->tas_uid);
|
$copyObj->setTasUid($this->tas_uid);
|
||||||
|
|
||||||
$copyObj->setProUid($this->pro_uid);
|
$copyObj->setProUid($this->pro_uid);
|
||||||
@@ -1750,8 +1750,6 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
|||||||
|
|
||||||
$copyObj->setAppStatus($this->app_status);
|
$copyObj->setAppStatus($this->app_status);
|
||||||
|
|
||||||
// $copyObj->setDelIndex($this->del_index);
|
|
||||||
|
|
||||||
$copyObj->setDelPreviousUsrUid($this->del_previous_usr_uid);
|
$copyObj->setDelPreviousUsrUid($this->del_previous_usr_uid);
|
||||||
|
|
||||||
$copyObj->setDelPreviousUsrUsername($this->del_previous_usr_username);
|
$copyObj->setDelPreviousUsrUsername($this->del_previous_usr_username);
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ require_once 'propel/util/BasePeer.php';
|
|||||||
// actual class may be a subclass -- as returned by ListParticipatedLastPeer::getOMClass()
|
// actual class may be a subclass -- as returned by ListParticipatedLastPeer::getOMClass()
|
||||||
include_once 'classes/model/ListParticipatedLast.php';
|
include_once 'classes/model/ListParticipatedLast.php';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base static class for performing query and update operations on the 'LIST_PARTICIPATED_LAST' table.
|
* Base static class for performing query and update operations on the 'LIST_PARTICIPATED_LAST' table.
|
||||||
*
|
*
|
||||||
@@ -13,7 +12,6 @@ include_once 'classes/model/ListParticipatedLast.php';
|
|||||||
*
|
*
|
||||||
* @package workflow.classes.model.om
|
* @package workflow.classes.model.om
|
||||||
*/
|
*/
|
||||||
|
|
||||||
abstract class BaseListParticipatedLastPeer
|
abstract class BaseListParticipatedLastPeer
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -27,7 +25,7 @@ abstract class BaseListParticipatedLastPeer
|
|||||||
const CLASS_DEFAULT = 'classes.model.ListParticipatedLast';
|
const CLASS_DEFAULT = 'classes.model.ListParticipatedLast';
|
||||||
|
|
||||||
/** The total number of columns. */
|
/** The total number of columns. */
|
||||||
const NUM_COLUMNS = 21;
|
const NUM_COLUMNS = 22;
|
||||||
|
|
||||||
/** The number of lazy-loaded columns. */
|
/** The number of lazy-loaded columns. */
|
||||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||||
@@ -36,12 +34,12 @@ abstract class BaseListParticipatedLastPeer
|
|||||||
/** the column name for the APP_UID field */
|
/** the column name for the APP_UID field */
|
||||||
const APP_UID = 'LIST_PARTICIPATED_LAST.APP_UID';
|
const APP_UID = 'LIST_PARTICIPATED_LAST.APP_UID';
|
||||||
|
|
||||||
/** the column name for the DEL_INDEX field */
|
|
||||||
const DEL_INDEX = 'LIST_PARTICIPATED_LAST.DEL_INDEX';
|
|
||||||
|
|
||||||
/** the column name for the USR_UID field */
|
/** the column name for the USR_UID field */
|
||||||
const USR_UID = 'LIST_PARTICIPATED_LAST.USR_UID';
|
const USR_UID = 'LIST_PARTICIPATED_LAST.USR_UID';
|
||||||
|
|
||||||
|
/** the column name for the DEL_INDEX field */
|
||||||
|
const DEL_INDEX = 'LIST_PARTICIPATED_LAST.DEL_INDEX';
|
||||||
|
|
||||||
/** the column name for the TAS_UID field */
|
/** the column name for the TAS_UID field */
|
||||||
const TAS_UID = 'LIST_PARTICIPATED_LAST.TAS_UID';
|
const TAS_UID = 'LIST_PARTICIPATED_LAST.TAS_UID';
|
||||||
|
|
||||||
@@ -110,7 +108,7 @@ abstract class BaseListParticipatedLastPeer
|
|||||||
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
||||||
*/
|
*/
|
||||||
private static $fieldNames = array (
|
private static $fieldNames = array (
|
||||||
BasePeer::TYPE_PHPNAME => array ('AppUid', 'UsrUid', 'DelIndex', 'TasUid', 'ProUid', 'AppNumber', 'AppTitle', 'AppProTitle', 'AppTasTitle', 'AppStatus', 'DelPreviousUsrUid', 'DelPreviousUsrUsername', 'DelPreviousUsrFirstname', 'DelPreviousUsrLastname', 'DelCurrentUsrUsername', 'DelCurrentUsrFirstname', 'DelCurrentUsrLastname', 'DelDelegateDate', 'DelInitDate', 'DelDueDate', 'DelPriority', 'DelPriority', 'DelThreadStatus'),
|
BasePeer::TYPE_PHPNAME => array ('AppUid', 'UsrUid', 'DelIndex', 'TasUid', 'ProUid', 'AppNumber', 'AppTitle', 'AppProTitle', 'AppTasTitle', 'AppStatus', 'DelPreviousUsrUid', 'DelPreviousUsrUsername', 'DelPreviousUsrFirstname', 'DelPreviousUsrLastname', 'DelCurrentUsrUsername', 'DelCurrentUsrFirstname', 'DelCurrentUsrLastname', 'DelDelegateDate', 'DelInitDate', 'DelDueDate', 'DelPriority', 'DelThreadStatus', ),
|
||||||
BasePeer::TYPE_COLNAME => array (ListParticipatedLastPeer::APP_UID, ListParticipatedLastPeer::USR_UID, ListParticipatedLastPeer::DEL_INDEX, ListParticipatedLastPeer::TAS_UID, ListParticipatedLastPeer::PRO_UID, ListParticipatedLastPeer::APP_NUMBER, ListParticipatedLastPeer::APP_TITLE, ListParticipatedLastPeer::APP_PRO_TITLE, ListParticipatedLastPeer::APP_TAS_TITLE, ListParticipatedLastPeer::APP_STATUS, ListParticipatedLastPeer::DEL_PREVIOUS_USR_UID, ListParticipatedLastPeer::DEL_PREVIOUS_USR_USERNAME, ListParticipatedLastPeer::DEL_PREVIOUS_USR_FIRSTNAME, ListParticipatedLastPeer::DEL_PREVIOUS_USR_LASTNAME, ListParticipatedLastPeer::DEL_CURRENT_USR_USERNAME, ListParticipatedLastPeer::DEL_CURRENT_USR_FIRSTNAME, ListParticipatedLastPeer::DEL_CURRENT_USR_LASTNAME, ListParticipatedLastPeer::DEL_DELEGATE_DATE, ListParticipatedLastPeer::DEL_INIT_DATE, ListParticipatedLastPeer::DEL_DUE_DATE, ListParticipatedLastPeer::DEL_PRIORITY, ListParticipatedLastPeer::DEL_THREAD_STATUS, ),
|
BasePeer::TYPE_COLNAME => array (ListParticipatedLastPeer::APP_UID, ListParticipatedLastPeer::USR_UID, ListParticipatedLastPeer::DEL_INDEX, ListParticipatedLastPeer::TAS_UID, ListParticipatedLastPeer::PRO_UID, ListParticipatedLastPeer::APP_NUMBER, ListParticipatedLastPeer::APP_TITLE, ListParticipatedLastPeer::APP_PRO_TITLE, ListParticipatedLastPeer::APP_TAS_TITLE, ListParticipatedLastPeer::APP_STATUS, ListParticipatedLastPeer::DEL_PREVIOUS_USR_UID, ListParticipatedLastPeer::DEL_PREVIOUS_USR_USERNAME, ListParticipatedLastPeer::DEL_PREVIOUS_USR_FIRSTNAME, ListParticipatedLastPeer::DEL_PREVIOUS_USR_LASTNAME, ListParticipatedLastPeer::DEL_CURRENT_USR_USERNAME, ListParticipatedLastPeer::DEL_CURRENT_USR_FIRSTNAME, ListParticipatedLastPeer::DEL_CURRENT_USR_LASTNAME, ListParticipatedLastPeer::DEL_DELEGATE_DATE, ListParticipatedLastPeer::DEL_INIT_DATE, ListParticipatedLastPeer::DEL_DUE_DATE, ListParticipatedLastPeer::DEL_PRIORITY, ListParticipatedLastPeer::DEL_THREAD_STATUS, ),
|
||||||
BasePeer::TYPE_FIELDNAME => array ('APP_UID', 'USR_UID', 'DEL_INDEX', 'TAS_UID', 'PRO_UID', 'APP_NUMBER', 'APP_TITLE', 'APP_PRO_TITLE', 'APP_TAS_TITLE', 'APP_STATUS', 'DEL_PREVIOUS_USR_UID', 'DEL_PREVIOUS_USR_USERNAME', 'DEL_PREVIOUS_USR_FIRSTNAME', 'DEL_PREVIOUS_USR_LASTNAME', 'DEL_CURRENT_USR_USERNAME', 'DEL_CURRENT_USR_FIRSTNAME', 'DEL_CURRENT_USR_LASTNAME', 'DEL_DELEGATE_DATE', 'DEL_INIT_DATE', 'DEL_DUE_DATE', 'DEL_PRIORITY', 'DEL_THREAD_STATUS', ),
|
BasePeer::TYPE_FIELDNAME => array ('APP_UID', 'USR_UID', 'DEL_INDEX', 'TAS_UID', 'PRO_UID', 'APP_NUMBER', 'APP_TITLE', 'APP_PRO_TITLE', 'APP_TAS_TITLE', 'APP_STATUS', 'DEL_PREVIOUS_USR_UID', 'DEL_PREVIOUS_USR_USERNAME', 'DEL_PREVIOUS_USR_FIRSTNAME', 'DEL_PREVIOUS_USR_LASTNAME', 'DEL_CURRENT_USR_USERNAME', 'DEL_CURRENT_USR_FIRSTNAME', 'DEL_CURRENT_USR_LASTNAME', 'DEL_DELEGATE_DATE', 'DEL_INIT_DATE', 'DEL_DUE_DATE', 'DEL_PRIORITY', 'DEL_THREAD_STATUS', ),
|
||||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, )
|
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, )
|
||||||
@@ -123,7 +121,7 @@ abstract class BaseListParticipatedLastPeer
|
|||||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||||
*/
|
*/
|
||||||
private static $fieldKeys = array (
|
private static $fieldKeys = array (
|
||||||
BasePeer::TYPE_PHPNAME => array ('AppUid' => 0, 'UsrUid' => 2, 'DelIndex' => 3, 'TasUid' => 4, 'ProUid' => 5, 'AppNumber' => 6, 'AppTitle' => 7, 'AppProTitle' => 8, 'AppTasTitle' => 9, 'AppStatus' => 9, 'DelPreviousUsrUid' => 10, 'DelPreviousUsrUsername' => 11, 'DelPreviousUsrFirstname' => 12, 'DelPreviousUsrLastname' => 13, 'DelCurrentUsrUsername' => 14, 'DelCurrentUsrFirstname' => 15, 'DelCurrentUsrLastname' => 16, 'DelDelegateDate' => 17, 'DelInitDate' => 18, 'DelDueDate' => 19, 'DelPriority' => 20, 'DelThreadStatus' => 21,),
|
BasePeer::TYPE_PHPNAME => array ('AppUid' => 0, 'UsrUid' => 1, 'DelIndex' => 2, 'TasUid' => 3, 'ProUid' => 4, 'AppNumber' => 5, 'AppTitle' => 6, 'AppProTitle' => 7, 'AppTasTitle' => 8, 'AppStatus' => 9, 'DelPreviousUsrUid' => 10, 'DelPreviousUsrUsername' => 11, 'DelPreviousUsrFirstname' => 12, 'DelPreviousUsrLastname' => 13, 'DelCurrentUsrUsername' => 14, 'DelCurrentUsrFirstname' => 15, 'DelCurrentUsrLastname' => 16, 'DelDelegateDate' => 17, 'DelInitDate' => 18, 'DelDueDate' => 19, 'DelPriority' => 20, 'DelThreadStatus' => 21, ),
|
||||||
BasePeer::TYPE_COLNAME => array (ListParticipatedLastPeer::APP_UID => 0, ListParticipatedLastPeer::USR_UID => 1, ListParticipatedLastPeer::DEL_INDEX => 2, ListParticipatedLastPeer::TAS_UID => 3, ListParticipatedLastPeer::PRO_UID => 4, ListParticipatedLastPeer::APP_NUMBER => 5, ListParticipatedLastPeer::APP_TITLE => 6, ListParticipatedLastPeer::APP_PRO_TITLE => 7, ListParticipatedLastPeer::APP_TAS_TITLE => 8, ListParticipatedLastPeer::APP_STATUS => 9, ListParticipatedLastPeer::DEL_PREVIOUS_USR_UID => 10, ListParticipatedLastPeer::DEL_PREVIOUS_USR_USERNAME => 11, ListParticipatedLastPeer::DEL_PREVIOUS_USR_FIRSTNAME => 12, ListParticipatedLastPeer::DEL_PREVIOUS_USR_LASTNAME => 13, ListParticipatedLastPeer::DEL_CURRENT_USR_USERNAME => 14, ListParticipatedLastPeer::DEL_CURRENT_USR_FIRSTNAME => 15, ListParticipatedLastPeer::DEL_CURRENT_USR_LASTNAME => 16, ListParticipatedLastPeer::DEL_DELEGATE_DATE => 17, ListParticipatedLastPeer::DEL_INIT_DATE => 18, ListParticipatedLastPeer::DEL_DUE_DATE => 19, ListParticipatedLastPeer::DEL_PRIORITY => 20, ListParticipatedLastPeer::DEL_THREAD_STATUS => 21, ),
|
BasePeer::TYPE_COLNAME => array (ListParticipatedLastPeer::APP_UID => 0, ListParticipatedLastPeer::USR_UID => 1, ListParticipatedLastPeer::DEL_INDEX => 2, ListParticipatedLastPeer::TAS_UID => 3, ListParticipatedLastPeer::PRO_UID => 4, ListParticipatedLastPeer::APP_NUMBER => 5, ListParticipatedLastPeer::APP_TITLE => 6, ListParticipatedLastPeer::APP_PRO_TITLE => 7, ListParticipatedLastPeer::APP_TAS_TITLE => 8, ListParticipatedLastPeer::APP_STATUS => 9, ListParticipatedLastPeer::DEL_PREVIOUS_USR_UID => 10, ListParticipatedLastPeer::DEL_PREVIOUS_USR_USERNAME => 11, ListParticipatedLastPeer::DEL_PREVIOUS_USR_FIRSTNAME => 12, ListParticipatedLastPeer::DEL_PREVIOUS_USR_LASTNAME => 13, ListParticipatedLastPeer::DEL_CURRENT_USR_USERNAME => 14, ListParticipatedLastPeer::DEL_CURRENT_USR_FIRSTNAME => 15, ListParticipatedLastPeer::DEL_CURRENT_USR_LASTNAME => 16, ListParticipatedLastPeer::DEL_DELEGATE_DATE => 17, ListParticipatedLastPeer::DEL_INIT_DATE => 18, ListParticipatedLastPeer::DEL_DUE_DATE => 19, ListParticipatedLastPeer::DEL_PRIORITY => 20, ListParticipatedLastPeer::DEL_THREAD_STATUS => 21, ),
|
||||||
BasePeer::TYPE_FIELDNAME => array ('APP_UID' => 0, 'USR_UID' => 1, 'DEL_INDEX' => 2, 'TAS_UID' => 3, 'PRO_UID' => 4, 'APP_NUMBER' => 5, 'APP_TITLE' => 6, 'APP_PRO_TITLE' => 7, 'APP_TAS_TITLE' => 8, 'APP_STATUS' => 9, 'DEL_PREVIOUS_USR_UID' => 10, 'DEL_PREVIOUS_USR_USERNAME' => 11, 'DEL_PREVIOUS_USR_FIRSTNAME' => 12, 'DEL_PREVIOUS_USR_LASTNAME' => 13, 'DEL_CURRENT_USR_USERNAME' => 14, 'DEL_CURRENT_USR_FIRSTNAME' => 15, 'DEL_CURRENT_USR_LASTNAME' => 16, 'DEL_DELEGATE_DATE' => 17, 'DEL_INIT_DATE' => 18, 'DEL_DUE_DATE' => 19, 'DEL_PRIORITY' => 20, 'DEL_THREAD_STATUS' => 21, ),
|
BasePeer::TYPE_FIELDNAME => array ('APP_UID' => 0, 'USR_UID' => 1, 'DEL_INDEX' => 2, 'TAS_UID' => 3, 'PRO_UID' => 4, 'APP_NUMBER' => 5, 'APP_TITLE' => 6, 'APP_PRO_TITLE' => 7, 'APP_TAS_TITLE' => 8, 'APP_STATUS' => 9, 'DEL_PREVIOUS_USR_UID' => 10, 'DEL_PREVIOUS_USR_USERNAME' => 11, 'DEL_PREVIOUS_USR_FIRSTNAME' => 12, 'DEL_PREVIOUS_USR_LASTNAME' => 13, 'DEL_CURRENT_USR_USERNAME' => 14, 'DEL_CURRENT_USR_FIRSTNAME' => 15, 'DEL_CURRENT_USR_LASTNAME' => 16, 'DEL_DELEGATE_DATE' => 17, 'DEL_INIT_DATE' => 18, 'DEL_DUE_DATE' => 19, 'DEL_PRIORITY' => 20, 'DEL_THREAD_STATUS' => 21, ),
|
||||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, )
|
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, )
|
||||||
@@ -562,11 +560,10 @@ abstract class BaseListParticipatedLastPeer
|
|||||||
|
|
||||||
$vals[0][] = $value[0];
|
$vals[0][] = $value[0];
|
||||||
$vals[1][] = $value[1];
|
$vals[1][] = $value[1];
|
||||||
$vals[2][] = $value[2];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$criteria->add(ListParticipatedLastPeer::APP_UID, $vals[0], Criteria::IN);
|
$criteria->add(ListParticipatedLastPeer::APP_UID, $vals[0], Criteria::IN);
|
||||||
$criteria->add(ListParticipatedLastPeer::USR_UID, $vals[2], Criteria::IN);
|
$criteria->add(ListParticipatedLastPeer::USR_UID, $vals[1], Criteria::IN);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the correct dbName
|
// Set the correct dbName
|
||||||
|
|||||||
@@ -183,6 +183,48 @@ abstract class BaseUsers extends BaseObject implements Persistent
|
|||||||
*/
|
*/
|
||||||
protected $usr_ux = 'NORMAL';
|
protected $usr_ux = 'NORMAL';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The value for the usr_total_inbox field.
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
protected $usr_total_inbox = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The value for the usr_total_draft field.
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
protected $usr_total_draft = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The value for the usr_total_cancelled field.
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
protected $usr_total_cancelled = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The value for the usr_total_participated field.
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
protected $usr_total_participated = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The value for the usr_total_paused field.
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
protected $usr_total_paused = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The value for the usr_total_completed field.
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
protected $usr_total_completed = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The value for the usr_total_unassigned field.
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
protected $usr_total_unassigned = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Flag to prevent endless save loop, if this object is referenced
|
* Flag to prevent endless save loop, if this object is referenced
|
||||||
* by another object which falls in this transaction.
|
* by another object which falls in this transaction.
|
||||||
@@ -567,6 +609,83 @@ abstract class BaseUsers extends BaseObject implements Persistent
|
|||||||
return $this->usr_ux;
|
return $this->usr_ux;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the [usr_total_inbox] column value.
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getUsrTotalInbox()
|
||||||
|
{
|
||||||
|
|
||||||
|
return $this->usr_total_inbox;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the [usr_total_draft] column value.
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getUsrTotalDraft()
|
||||||
|
{
|
||||||
|
|
||||||
|
return $this->usr_total_draft;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the [usr_total_cancelled] column value.
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getUsrTotalCancelled()
|
||||||
|
{
|
||||||
|
|
||||||
|
return $this->usr_total_cancelled;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the [usr_total_participated] column value.
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getUsrTotalParticipated()
|
||||||
|
{
|
||||||
|
|
||||||
|
return $this->usr_total_participated;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the [usr_total_paused] column value.
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getUsrTotalPaused()
|
||||||
|
{
|
||||||
|
|
||||||
|
return $this->usr_total_paused;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the [usr_total_completed] column value.
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getUsrTotalCompleted()
|
||||||
|
{
|
||||||
|
|
||||||
|
return $this->usr_total_completed;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the [usr_total_unassigned] column value.
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getUsrTotalUnassigned()
|
||||||
|
{
|
||||||
|
|
||||||
|
return $this->usr_total_unassigned;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the value of [usr_uid] column.
|
* Set the value of [usr_uid] column.
|
||||||
*
|
*
|
||||||
@@ -1167,6 +1286,160 @@ abstract class BaseUsers extends BaseObject implements Persistent
|
|||||||
|
|
||||||
} // setUsrUx()
|
} // setUsrUx()
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the value of [usr_total_inbox] column.
|
||||||
|
*
|
||||||
|
* @param int $v new value
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function setUsrTotalInbox($v)
|
||||||
|
{
|
||||||
|
|
||||||
|
// Since the native PHP type for this column is integer,
|
||||||
|
// we will cast the input value to an int (if it is not).
|
||||||
|
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||||
|
$v = (int) $v;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->usr_total_inbox !== $v || $v === 0) {
|
||||||
|
$this->usr_total_inbox = $v;
|
||||||
|
$this->modifiedColumns[] = UsersPeer::USR_TOTAL_INBOX;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // setUsrTotalInbox()
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the value of [usr_total_draft] column.
|
||||||
|
*
|
||||||
|
* @param int $v new value
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function setUsrTotalDraft($v)
|
||||||
|
{
|
||||||
|
|
||||||
|
// Since the native PHP type for this column is integer,
|
||||||
|
// we will cast the input value to an int (if it is not).
|
||||||
|
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||||
|
$v = (int) $v;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->usr_total_draft !== $v || $v === 0) {
|
||||||
|
$this->usr_total_draft = $v;
|
||||||
|
$this->modifiedColumns[] = UsersPeer::USR_TOTAL_DRAFT;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // setUsrTotalDraft()
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the value of [usr_total_cancelled] column.
|
||||||
|
*
|
||||||
|
* @param int $v new value
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function setUsrTotalCancelled($v)
|
||||||
|
{
|
||||||
|
|
||||||
|
// Since the native PHP type for this column is integer,
|
||||||
|
// we will cast the input value to an int (if it is not).
|
||||||
|
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||||
|
$v = (int) $v;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->usr_total_cancelled !== $v || $v === 0) {
|
||||||
|
$this->usr_total_cancelled = $v;
|
||||||
|
$this->modifiedColumns[] = UsersPeer::USR_TOTAL_CANCELLED;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // setUsrTotalCancelled()
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the value of [usr_total_participated] column.
|
||||||
|
*
|
||||||
|
* @param int $v new value
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function setUsrTotalParticipated($v)
|
||||||
|
{
|
||||||
|
|
||||||
|
// Since the native PHP type for this column is integer,
|
||||||
|
// we will cast the input value to an int (if it is not).
|
||||||
|
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||||
|
$v = (int) $v;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->usr_total_participated !== $v || $v === 0) {
|
||||||
|
$this->usr_total_participated = $v;
|
||||||
|
$this->modifiedColumns[] = UsersPeer::USR_TOTAL_PARTICIPATED;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // setUsrTotalParticipated()
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the value of [usr_total_paused] column.
|
||||||
|
*
|
||||||
|
* @param int $v new value
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function setUsrTotalPaused($v)
|
||||||
|
{
|
||||||
|
|
||||||
|
// Since the native PHP type for this column is integer,
|
||||||
|
// we will cast the input value to an int (if it is not).
|
||||||
|
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||||
|
$v = (int) $v;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->usr_total_paused !== $v || $v === 0) {
|
||||||
|
$this->usr_total_paused = $v;
|
||||||
|
$this->modifiedColumns[] = UsersPeer::USR_TOTAL_PAUSED;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // setUsrTotalPaused()
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the value of [usr_total_completed] column.
|
||||||
|
*
|
||||||
|
* @param int $v new value
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function setUsrTotalCompleted($v)
|
||||||
|
{
|
||||||
|
|
||||||
|
// Since the native PHP type for this column is integer,
|
||||||
|
// we will cast the input value to an int (if it is not).
|
||||||
|
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||||
|
$v = (int) $v;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->usr_total_completed !== $v || $v === 0) {
|
||||||
|
$this->usr_total_completed = $v;
|
||||||
|
$this->modifiedColumns[] = UsersPeer::USR_TOTAL_COMPLETED;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // setUsrTotalCompleted()
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the value of [usr_total_unassigned] column.
|
||||||
|
*
|
||||||
|
* @param int $v new value
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function setUsrTotalUnassigned($v)
|
||||||
|
{
|
||||||
|
|
||||||
|
// Since the native PHP type for this column is integer,
|
||||||
|
// we will cast the input value to an int (if it is not).
|
||||||
|
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||||
|
$v = (int) $v;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->usr_total_unassigned !== $v || $v === 0) {
|
||||||
|
$this->usr_total_unassigned = $v;
|
||||||
|
$this->modifiedColumns[] = UsersPeer::USR_TOTAL_UNASSIGNED;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // setUsrTotalUnassigned()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hydrates (populates) the object variables with values from the database resultset.
|
* Hydrates (populates) the object variables with values from the database resultset.
|
||||||
*
|
*
|
||||||
@@ -1236,12 +1509,26 @@ abstract class BaseUsers extends BaseObject implements Persistent
|
|||||||
|
|
||||||
$this->usr_ux = $rs->getString($startcol + 25);
|
$this->usr_ux = $rs->getString($startcol + 25);
|
||||||
|
|
||||||
|
$this->usr_total_inbox = $rs->getInt($startcol + 26);
|
||||||
|
|
||||||
|
$this->usr_total_draft = $rs->getInt($startcol + 27);
|
||||||
|
|
||||||
|
$this->usr_total_cancelled = $rs->getInt($startcol + 28);
|
||||||
|
|
||||||
|
$this->usr_total_participated = $rs->getInt($startcol + 29);
|
||||||
|
|
||||||
|
$this->usr_total_paused = $rs->getInt($startcol + 30);
|
||||||
|
|
||||||
|
$this->usr_total_completed = $rs->getInt($startcol + 31);
|
||||||
|
|
||||||
|
$this->usr_total_unassigned = $rs->getInt($startcol + 32);
|
||||||
|
|
||||||
$this->resetModified();
|
$this->resetModified();
|
||||||
|
|
||||||
$this->setNew(false);
|
$this->setNew(false);
|
||||||
|
|
||||||
// FIXME - using NUM_COLUMNS may be clearer.
|
// FIXME - using NUM_COLUMNS may be clearer.
|
||||||
return $startcol + 26; // 26 = UsersPeer::NUM_COLUMNS - UsersPeer::NUM_LAZY_LOAD_COLUMNS).
|
return $startcol + 33; // 33 = UsersPeer::NUM_COLUMNS - UsersPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||||
|
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
throw new PropelException("Error populating Users object", $e);
|
throw new PropelException("Error populating Users object", $e);
|
||||||
@@ -1523,6 +1810,27 @@ abstract class BaseUsers extends BaseObject implements Persistent
|
|||||||
case 25:
|
case 25:
|
||||||
return $this->getUsrUx();
|
return $this->getUsrUx();
|
||||||
break;
|
break;
|
||||||
|
case 26:
|
||||||
|
return $this->getUsrTotalInbox();
|
||||||
|
break;
|
||||||
|
case 27:
|
||||||
|
return $this->getUsrTotalDraft();
|
||||||
|
break;
|
||||||
|
case 28:
|
||||||
|
return $this->getUsrTotalCancelled();
|
||||||
|
break;
|
||||||
|
case 29:
|
||||||
|
return $this->getUsrTotalParticipated();
|
||||||
|
break;
|
||||||
|
case 30:
|
||||||
|
return $this->getUsrTotalPaused();
|
||||||
|
break;
|
||||||
|
case 31:
|
||||||
|
return $this->getUsrTotalCompleted();
|
||||||
|
break;
|
||||||
|
case 32:
|
||||||
|
return $this->getUsrTotalUnassigned();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
break;
|
break;
|
||||||
@@ -1569,6 +1877,13 @@ abstract class BaseUsers extends BaseObject implements Persistent
|
|||||||
$keys[23] => $this->getUsrReportsTo(),
|
$keys[23] => $this->getUsrReportsTo(),
|
||||||
$keys[24] => $this->getUsrReplacedBy(),
|
$keys[24] => $this->getUsrReplacedBy(),
|
||||||
$keys[25] => $this->getUsrUx(),
|
$keys[25] => $this->getUsrUx(),
|
||||||
|
$keys[26] => $this->getUsrTotalInbox(),
|
||||||
|
$keys[27] => $this->getUsrTotalDraft(),
|
||||||
|
$keys[28] => $this->getUsrTotalCancelled(),
|
||||||
|
$keys[29] => $this->getUsrTotalParticipated(),
|
||||||
|
$keys[30] => $this->getUsrTotalPaused(),
|
||||||
|
$keys[31] => $this->getUsrTotalCompleted(),
|
||||||
|
$keys[32] => $this->getUsrTotalUnassigned(),
|
||||||
);
|
);
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
@@ -1678,6 +1993,27 @@ abstract class BaseUsers extends BaseObject implements Persistent
|
|||||||
case 25:
|
case 25:
|
||||||
$this->setUsrUx($value);
|
$this->setUsrUx($value);
|
||||||
break;
|
break;
|
||||||
|
case 26:
|
||||||
|
$this->setUsrTotalInbox($value);
|
||||||
|
break;
|
||||||
|
case 27:
|
||||||
|
$this->setUsrTotalDraft($value);
|
||||||
|
break;
|
||||||
|
case 28:
|
||||||
|
$this->setUsrTotalCancelled($value);
|
||||||
|
break;
|
||||||
|
case 29:
|
||||||
|
$this->setUsrTotalParticipated($value);
|
||||||
|
break;
|
||||||
|
case 30:
|
||||||
|
$this->setUsrTotalPaused($value);
|
||||||
|
break;
|
||||||
|
case 31:
|
||||||
|
$this->setUsrTotalCompleted($value);
|
||||||
|
break;
|
||||||
|
case 32:
|
||||||
|
$this->setUsrTotalUnassigned($value);
|
||||||
|
break;
|
||||||
} // switch()
|
} // switch()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1805,6 +2141,34 @@ abstract class BaseUsers extends BaseObject implements Persistent
|
|||||||
$this->setUsrUx($arr[$keys[25]]);
|
$this->setUsrUx($arr[$keys[25]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (array_key_exists($keys[26], $arr)) {
|
||||||
|
$this->setUsrTotalInbox($arr[$keys[26]]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (array_key_exists($keys[27], $arr)) {
|
||||||
|
$this->setUsrTotalDraft($arr[$keys[27]]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (array_key_exists($keys[28], $arr)) {
|
||||||
|
$this->setUsrTotalCancelled($arr[$keys[28]]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (array_key_exists($keys[29], $arr)) {
|
||||||
|
$this->setUsrTotalParticipated($arr[$keys[29]]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (array_key_exists($keys[30], $arr)) {
|
||||||
|
$this->setUsrTotalPaused($arr[$keys[30]]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (array_key_exists($keys[31], $arr)) {
|
||||||
|
$this->setUsrTotalCompleted($arr[$keys[31]]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (array_key_exists($keys[32], $arr)) {
|
||||||
|
$this->setUsrTotalUnassigned($arr[$keys[32]]);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1920,6 +2284,34 @@ abstract class BaseUsers extends BaseObject implements Persistent
|
|||||||
$criteria->add(UsersPeer::USR_UX, $this->usr_ux);
|
$criteria->add(UsersPeer::USR_UX, $this->usr_ux);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->isColumnModified(UsersPeer::USR_TOTAL_INBOX)) {
|
||||||
|
$criteria->add(UsersPeer::USR_TOTAL_INBOX, $this->usr_total_inbox);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->isColumnModified(UsersPeer::USR_TOTAL_DRAFT)) {
|
||||||
|
$criteria->add(UsersPeer::USR_TOTAL_DRAFT, $this->usr_total_draft);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->isColumnModified(UsersPeer::USR_TOTAL_CANCELLED)) {
|
||||||
|
$criteria->add(UsersPeer::USR_TOTAL_CANCELLED, $this->usr_total_cancelled);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->isColumnModified(UsersPeer::USR_TOTAL_PARTICIPATED)) {
|
||||||
|
$criteria->add(UsersPeer::USR_TOTAL_PARTICIPATED, $this->usr_total_participated);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->isColumnModified(UsersPeer::USR_TOTAL_PAUSED)) {
|
||||||
|
$criteria->add(UsersPeer::USR_TOTAL_PAUSED, $this->usr_total_paused);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->isColumnModified(UsersPeer::USR_TOTAL_COMPLETED)) {
|
||||||
|
$criteria->add(UsersPeer::USR_TOTAL_COMPLETED, $this->usr_total_completed);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->isColumnModified(UsersPeer::USR_TOTAL_UNASSIGNED)) {
|
||||||
|
$criteria->add(UsersPeer::USR_TOTAL_UNASSIGNED, $this->usr_total_unassigned);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return $criteria;
|
return $criteria;
|
||||||
}
|
}
|
||||||
@@ -2024,6 +2416,20 @@ abstract class BaseUsers extends BaseObject implements Persistent
|
|||||||
|
|
||||||
$copyObj->setUsrUx($this->usr_ux);
|
$copyObj->setUsrUx($this->usr_ux);
|
||||||
|
|
||||||
|
$copyObj->setUsrTotalInbox($this->usr_total_inbox);
|
||||||
|
|
||||||
|
$copyObj->setUsrTotalDraft($this->usr_total_draft);
|
||||||
|
|
||||||
|
$copyObj->setUsrTotalCancelled($this->usr_total_cancelled);
|
||||||
|
|
||||||
|
$copyObj->setUsrTotalParticipated($this->usr_total_participated);
|
||||||
|
|
||||||
|
$copyObj->setUsrTotalPaused($this->usr_total_paused);
|
||||||
|
|
||||||
|
$copyObj->setUsrTotalCompleted($this->usr_total_completed);
|
||||||
|
|
||||||
|
$copyObj->setUsrTotalUnassigned($this->usr_total_unassigned);
|
||||||
|
|
||||||
|
|
||||||
$copyObj->setNew(true);
|
$copyObj->setNew(true);
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ abstract class BaseUsersPeer
|
|||||||
const CLASS_DEFAULT = 'classes.model.Users';
|
const CLASS_DEFAULT = 'classes.model.Users';
|
||||||
|
|
||||||
/** The total number of columns. */
|
/** The total number of columns. */
|
||||||
const NUM_COLUMNS = 26;
|
const NUM_COLUMNS = 33;
|
||||||
|
|
||||||
/** The number of lazy-loaded columns. */
|
/** The number of lazy-loaded columns. */
|
||||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||||
@@ -109,6 +109,27 @@ abstract class BaseUsersPeer
|
|||||||
/** the column name for the USR_UX field */
|
/** the column name for the USR_UX field */
|
||||||
const USR_UX = 'USERS.USR_UX';
|
const USR_UX = 'USERS.USR_UX';
|
||||||
|
|
||||||
|
/** the column name for the USR_TOTAL_INBOX field */
|
||||||
|
const USR_TOTAL_INBOX = 'USERS.USR_TOTAL_INBOX';
|
||||||
|
|
||||||
|
/** the column name for the USR_TOTAL_DRAFT field */
|
||||||
|
const USR_TOTAL_DRAFT = 'USERS.USR_TOTAL_DRAFT';
|
||||||
|
|
||||||
|
/** the column name for the USR_TOTAL_CANCELLED field */
|
||||||
|
const USR_TOTAL_CANCELLED = 'USERS.USR_TOTAL_CANCELLED';
|
||||||
|
|
||||||
|
/** the column name for the USR_TOTAL_PARTICIPATED field */
|
||||||
|
const USR_TOTAL_PARTICIPATED = 'USERS.USR_TOTAL_PARTICIPATED';
|
||||||
|
|
||||||
|
/** the column name for the USR_TOTAL_PAUSED field */
|
||||||
|
const USR_TOTAL_PAUSED = 'USERS.USR_TOTAL_PAUSED';
|
||||||
|
|
||||||
|
/** the column name for the USR_TOTAL_COMPLETED field */
|
||||||
|
const USR_TOTAL_COMPLETED = 'USERS.USR_TOTAL_COMPLETED';
|
||||||
|
|
||||||
|
/** the column name for the USR_TOTAL_UNASSIGNED field */
|
||||||
|
const USR_TOTAL_UNASSIGNED = 'USERS.USR_TOTAL_UNASSIGNED';
|
||||||
|
|
||||||
/** The PHP to DB Name Mapping */
|
/** The PHP to DB Name Mapping */
|
||||||
private static $phpNameMap = null;
|
private static $phpNameMap = null;
|
||||||
|
|
||||||
@@ -120,10 +141,10 @@ abstract class BaseUsersPeer
|
|||||||
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
||||||
*/
|
*/
|
||||||
private static $fieldNames = array (
|
private static $fieldNames = array (
|
||||||
BasePeer::TYPE_PHPNAME => array ('UsrUid', 'UsrUsername', 'UsrPassword', 'UsrFirstname', 'UsrLastname', 'UsrEmail', 'UsrDueDate', 'UsrCreateDate', 'UsrUpdateDate', 'UsrStatus', 'UsrCountry', 'UsrCity', 'UsrLocation', 'UsrAddress', 'UsrPhone', 'UsrFax', 'UsrCellular', 'UsrZipCode', 'DepUid', 'UsrPosition', 'UsrResume', 'UsrBirthday', 'UsrRole', 'UsrReportsTo', 'UsrReplacedBy', 'UsrUx', ),
|
BasePeer::TYPE_PHPNAME => array ('UsrUid', 'UsrUsername', 'UsrPassword', 'UsrFirstname', 'UsrLastname', 'UsrEmail', 'UsrDueDate', 'UsrCreateDate', 'UsrUpdateDate', 'UsrStatus', 'UsrCountry', 'UsrCity', 'UsrLocation', 'UsrAddress', 'UsrPhone', 'UsrFax', 'UsrCellular', 'UsrZipCode', 'DepUid', 'UsrPosition', 'UsrResume', 'UsrBirthday', 'UsrRole', 'UsrReportsTo', 'UsrReplacedBy', 'UsrUx', 'UsrTotalInbox', 'UsrTotalDraft', 'UsrTotalCancelled', 'UsrTotalParticipated', 'UsrTotalPaused', 'UsrTotalCompleted', 'UsrTotalUnassigned', ),
|
||||||
BasePeer::TYPE_COLNAME => array (UsersPeer::USR_UID, UsersPeer::USR_USERNAME, UsersPeer::USR_PASSWORD, UsersPeer::USR_FIRSTNAME, UsersPeer::USR_LASTNAME, UsersPeer::USR_EMAIL, UsersPeer::USR_DUE_DATE, UsersPeer::USR_CREATE_DATE, UsersPeer::USR_UPDATE_DATE, UsersPeer::USR_STATUS, UsersPeer::USR_COUNTRY, UsersPeer::USR_CITY, UsersPeer::USR_LOCATION, UsersPeer::USR_ADDRESS, UsersPeer::USR_PHONE, UsersPeer::USR_FAX, UsersPeer::USR_CELLULAR, UsersPeer::USR_ZIP_CODE, UsersPeer::DEP_UID, UsersPeer::USR_POSITION, UsersPeer::USR_RESUME, UsersPeer::USR_BIRTHDAY, UsersPeer::USR_ROLE, UsersPeer::USR_REPORTS_TO, UsersPeer::USR_REPLACED_BY, UsersPeer::USR_UX, ),
|
BasePeer::TYPE_COLNAME => array (UsersPeer::USR_UID, UsersPeer::USR_USERNAME, UsersPeer::USR_PASSWORD, UsersPeer::USR_FIRSTNAME, UsersPeer::USR_LASTNAME, UsersPeer::USR_EMAIL, UsersPeer::USR_DUE_DATE, UsersPeer::USR_CREATE_DATE, UsersPeer::USR_UPDATE_DATE, UsersPeer::USR_STATUS, UsersPeer::USR_COUNTRY, UsersPeer::USR_CITY, UsersPeer::USR_LOCATION, UsersPeer::USR_ADDRESS, UsersPeer::USR_PHONE, UsersPeer::USR_FAX, UsersPeer::USR_CELLULAR, UsersPeer::USR_ZIP_CODE, UsersPeer::DEP_UID, UsersPeer::USR_POSITION, UsersPeer::USR_RESUME, UsersPeer::USR_BIRTHDAY, UsersPeer::USR_ROLE, UsersPeer::USR_REPORTS_TO, UsersPeer::USR_REPLACED_BY, UsersPeer::USR_UX, UsersPeer::USR_TOTAL_INBOX, UsersPeer::USR_TOTAL_DRAFT, UsersPeer::USR_TOTAL_CANCELLED, UsersPeer::USR_TOTAL_PARTICIPATED, UsersPeer::USR_TOTAL_PAUSED, UsersPeer::USR_TOTAL_COMPLETED, UsersPeer::USR_TOTAL_UNASSIGNED, ),
|
||||||
BasePeer::TYPE_FIELDNAME => array ('USR_UID', 'USR_USERNAME', 'USR_PASSWORD', 'USR_FIRSTNAME', 'USR_LASTNAME', 'USR_EMAIL', 'USR_DUE_DATE', 'USR_CREATE_DATE', 'USR_UPDATE_DATE', 'USR_STATUS', 'USR_COUNTRY', 'USR_CITY', 'USR_LOCATION', 'USR_ADDRESS', 'USR_PHONE', 'USR_FAX', 'USR_CELLULAR', 'USR_ZIP_CODE', 'DEP_UID', 'USR_POSITION', 'USR_RESUME', 'USR_BIRTHDAY', 'USR_ROLE', 'USR_REPORTS_TO', 'USR_REPLACED_BY', 'USR_UX', ),
|
BasePeer::TYPE_FIELDNAME => array ('USR_UID', 'USR_USERNAME', 'USR_PASSWORD', 'USR_FIRSTNAME', 'USR_LASTNAME', 'USR_EMAIL', 'USR_DUE_DATE', 'USR_CREATE_DATE', 'USR_UPDATE_DATE', 'USR_STATUS', 'USR_COUNTRY', 'USR_CITY', 'USR_LOCATION', 'USR_ADDRESS', 'USR_PHONE', 'USR_FAX', 'USR_CELLULAR', 'USR_ZIP_CODE', 'DEP_UID', 'USR_POSITION', 'USR_RESUME', 'USR_BIRTHDAY', 'USR_ROLE', 'USR_REPORTS_TO', 'USR_REPLACED_BY', 'USR_UX', 'USR_TOTAL_INBOX', 'USR_TOTAL_DRAFT', 'USR_TOTAL_CANCELLED', 'USR_TOTAL_PARTICIPATED', 'USR_TOTAL_PAUSED', 'USR_TOTAL_COMPLETED', 'USR_TOTAL_UNASSIGNED', ),
|
||||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, )
|
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, )
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -133,10 +154,10 @@ abstract class BaseUsersPeer
|
|||||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||||
*/
|
*/
|
||||||
private static $fieldKeys = array (
|
private static $fieldKeys = array (
|
||||||
BasePeer::TYPE_PHPNAME => array ('UsrUid' => 0, 'UsrUsername' => 1, 'UsrPassword' => 2, 'UsrFirstname' => 3, 'UsrLastname' => 4, 'UsrEmail' => 5, 'UsrDueDate' => 6, 'UsrCreateDate' => 7, 'UsrUpdateDate' => 8, 'UsrStatus' => 9, 'UsrCountry' => 10, 'UsrCity' => 11, 'UsrLocation' => 12, 'UsrAddress' => 13, 'UsrPhone' => 14, 'UsrFax' => 15, 'UsrCellular' => 16, 'UsrZipCode' => 17, 'DepUid' => 18, 'UsrPosition' => 19, 'UsrResume' => 20, 'UsrBirthday' => 21, 'UsrRole' => 22, 'UsrReportsTo' => 23, 'UsrReplacedBy' => 24, 'UsrUx' => 25, ),
|
BasePeer::TYPE_PHPNAME => array ('UsrUid' => 0, 'UsrUsername' => 1, 'UsrPassword' => 2, 'UsrFirstname' => 3, 'UsrLastname' => 4, 'UsrEmail' => 5, 'UsrDueDate' => 6, 'UsrCreateDate' => 7, 'UsrUpdateDate' => 8, 'UsrStatus' => 9, 'UsrCountry' => 10, 'UsrCity' => 11, 'UsrLocation' => 12, 'UsrAddress' => 13, 'UsrPhone' => 14, 'UsrFax' => 15, 'UsrCellular' => 16, 'UsrZipCode' => 17, 'DepUid' => 18, 'UsrPosition' => 19, 'UsrResume' => 20, 'UsrBirthday' => 21, 'UsrRole' => 22, 'UsrReportsTo' => 23, 'UsrReplacedBy' => 24, 'UsrUx' => 25, 'UsrTotalInbox' => 26, 'UsrTotalDraft' => 27, 'UsrTotalCancelled' => 28, 'UsrTotalParticipated' => 29, 'UsrTotalPaused' => 30, 'UsrTotalCompleted' => 31, 'UsrTotalUnassigned' => 32, ),
|
||||||
BasePeer::TYPE_COLNAME => array (UsersPeer::USR_UID => 0, UsersPeer::USR_USERNAME => 1, UsersPeer::USR_PASSWORD => 2, UsersPeer::USR_FIRSTNAME => 3, UsersPeer::USR_LASTNAME => 4, UsersPeer::USR_EMAIL => 5, UsersPeer::USR_DUE_DATE => 6, UsersPeer::USR_CREATE_DATE => 7, UsersPeer::USR_UPDATE_DATE => 8, UsersPeer::USR_STATUS => 9, UsersPeer::USR_COUNTRY => 10, UsersPeer::USR_CITY => 11, UsersPeer::USR_LOCATION => 12, UsersPeer::USR_ADDRESS => 13, UsersPeer::USR_PHONE => 14, UsersPeer::USR_FAX => 15, UsersPeer::USR_CELLULAR => 16, UsersPeer::USR_ZIP_CODE => 17, UsersPeer::DEP_UID => 18, UsersPeer::USR_POSITION => 19, UsersPeer::USR_RESUME => 20, UsersPeer::USR_BIRTHDAY => 21, UsersPeer::USR_ROLE => 22, UsersPeer::USR_REPORTS_TO => 23, UsersPeer::USR_REPLACED_BY => 24, UsersPeer::USR_UX => 25, ),
|
BasePeer::TYPE_COLNAME => array (UsersPeer::USR_UID => 0, UsersPeer::USR_USERNAME => 1, UsersPeer::USR_PASSWORD => 2, UsersPeer::USR_FIRSTNAME => 3, UsersPeer::USR_LASTNAME => 4, UsersPeer::USR_EMAIL => 5, UsersPeer::USR_DUE_DATE => 6, UsersPeer::USR_CREATE_DATE => 7, UsersPeer::USR_UPDATE_DATE => 8, UsersPeer::USR_STATUS => 9, UsersPeer::USR_COUNTRY => 10, UsersPeer::USR_CITY => 11, UsersPeer::USR_LOCATION => 12, UsersPeer::USR_ADDRESS => 13, UsersPeer::USR_PHONE => 14, UsersPeer::USR_FAX => 15, UsersPeer::USR_CELLULAR => 16, UsersPeer::USR_ZIP_CODE => 17, UsersPeer::DEP_UID => 18, UsersPeer::USR_POSITION => 19, UsersPeer::USR_RESUME => 20, UsersPeer::USR_BIRTHDAY => 21, UsersPeer::USR_ROLE => 22, UsersPeer::USR_REPORTS_TO => 23, UsersPeer::USR_REPLACED_BY => 24, UsersPeer::USR_UX => 25, UsersPeer::USR_TOTAL_INBOX => 26, UsersPeer::USR_TOTAL_DRAFT => 27, UsersPeer::USR_TOTAL_CANCELLED => 28, UsersPeer::USR_TOTAL_PARTICIPATED => 29, UsersPeer::USR_TOTAL_PAUSED => 30, UsersPeer::USR_TOTAL_COMPLETED => 31, UsersPeer::USR_TOTAL_UNASSIGNED => 32, ),
|
||||||
BasePeer::TYPE_FIELDNAME => array ('USR_UID' => 0, 'USR_USERNAME' => 1, 'USR_PASSWORD' => 2, 'USR_FIRSTNAME' => 3, 'USR_LASTNAME' => 4, 'USR_EMAIL' => 5, 'USR_DUE_DATE' => 6, 'USR_CREATE_DATE' => 7, 'USR_UPDATE_DATE' => 8, 'USR_STATUS' => 9, 'USR_COUNTRY' => 10, 'USR_CITY' => 11, 'USR_LOCATION' => 12, 'USR_ADDRESS' => 13, 'USR_PHONE' => 14, 'USR_FAX' => 15, 'USR_CELLULAR' => 16, 'USR_ZIP_CODE' => 17, 'DEP_UID' => 18, 'USR_POSITION' => 19, 'USR_RESUME' => 20, 'USR_BIRTHDAY' => 21, 'USR_ROLE' => 22, 'USR_REPORTS_TO' => 23, 'USR_REPLACED_BY' => 24, 'USR_UX' => 25, ),
|
BasePeer::TYPE_FIELDNAME => array ('USR_UID' => 0, 'USR_USERNAME' => 1, 'USR_PASSWORD' => 2, 'USR_FIRSTNAME' => 3, 'USR_LASTNAME' => 4, 'USR_EMAIL' => 5, 'USR_DUE_DATE' => 6, 'USR_CREATE_DATE' => 7, 'USR_UPDATE_DATE' => 8, 'USR_STATUS' => 9, 'USR_COUNTRY' => 10, 'USR_CITY' => 11, 'USR_LOCATION' => 12, 'USR_ADDRESS' => 13, 'USR_PHONE' => 14, 'USR_FAX' => 15, 'USR_CELLULAR' => 16, 'USR_ZIP_CODE' => 17, 'DEP_UID' => 18, 'USR_POSITION' => 19, 'USR_RESUME' => 20, 'USR_BIRTHDAY' => 21, 'USR_ROLE' => 22, 'USR_REPORTS_TO' => 23, 'USR_REPLACED_BY' => 24, 'USR_UX' => 25, 'USR_TOTAL_INBOX' => 26, 'USR_TOTAL_DRAFT' => 27, 'USR_TOTAL_CANCELLED' => 28, 'USR_TOTAL_PARTICIPATED' => 29, 'USR_TOTAL_PAUSED' => 30, 'USR_TOTAL_COMPLETED' => 31, 'USR_TOTAL_UNASSIGNED' => 32, ),
|
||||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, )
|
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, )
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -289,6 +310,20 @@ abstract class BaseUsersPeer
|
|||||||
|
|
||||||
$criteria->addSelectColumn(UsersPeer::USR_UX);
|
$criteria->addSelectColumn(UsersPeer::USR_UX);
|
||||||
|
|
||||||
|
$criteria->addSelectColumn(UsersPeer::USR_TOTAL_INBOX);
|
||||||
|
|
||||||
|
$criteria->addSelectColumn(UsersPeer::USR_TOTAL_DRAFT);
|
||||||
|
|
||||||
|
$criteria->addSelectColumn(UsersPeer::USR_TOTAL_CANCELLED);
|
||||||
|
|
||||||
|
$criteria->addSelectColumn(UsersPeer::USR_TOTAL_PARTICIPATED);
|
||||||
|
|
||||||
|
$criteria->addSelectColumn(UsersPeer::USR_TOTAL_PAUSED);
|
||||||
|
|
||||||
|
$criteria->addSelectColumn(UsersPeer::USR_TOTAL_COMPLETED);
|
||||||
|
|
||||||
|
$criteria->addSelectColumn(UsersPeer::USR_TOTAL_UNASSIGNED);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const COUNT = 'COUNT(USERS.USR_UID)';
|
const COUNT = 'COUNT(USERS.USR_UID)';
|
||||||
|
|||||||
@@ -1468,6 +1468,13 @@
|
|||||||
<column name="USR_REPORTS_TO" type="VARCHAR" size="32" default=""/>
|
<column name="USR_REPORTS_TO" type="VARCHAR" size="32" default=""/>
|
||||||
<column name="USR_REPLACED_BY" type="VARCHAR" size="32" default=""/>
|
<column name="USR_REPLACED_BY" type="VARCHAR" size="32" default=""/>
|
||||||
<column name="USR_UX" type="VARCHAR" size="128" default="NORMAL"/>
|
<column name="USR_UX" type="VARCHAR" size="128" default="NORMAL"/>
|
||||||
|
<column name="USR_TOTAL_INBOX" type="INTEGER" default="0"/>
|
||||||
|
<column name="USR_TOTAL_DRAFT" type="INTEGER" default="0"/>
|
||||||
|
<column name="USR_TOTAL_CANCELLED" type="INTEGER" default="0"/>
|
||||||
|
<column name="USR_TOTAL_PARTICIPATED" type="INTEGER" default="0"/>
|
||||||
|
<column name="USR_TOTAL_PAUSED" type="INTEGER" default="0"/>
|
||||||
|
<column name="USR_TOTAL_COMPLETED" type="INTEGER" default="0"/>
|
||||||
|
<column name="USR_TOTAL_UNASSIGNED" type="INTEGER" default="0"/>
|
||||||
<validator column="USR_STATUS">
|
<validator column="USR_STATUS">
|
||||||
<rule name="validValues" value="ACTIVE|INACTIVE|VACATION|CLOSED" message="Please select a valid type."/>
|
<rule name="validValues" value="ACTIVE|INACTIVE|VACATION|CLOSED" message="Please select a valid type."/>
|
||||||
<rule name="required" message="Type is required."/>
|
<rule name="required" message="Type is required."/>
|
||||||
@@ -4389,7 +4396,7 @@
|
|||||||
<column name="EVN_UID" type="VARCHAR" size="32" required="true" />
|
<column name="EVN_UID" type="VARCHAR" size="32" required="true" />
|
||||||
<column name="MSGT_UID" type="VARCHAR" size="32" required="true" default="" />
|
<column name="MSGT_UID" type="VARCHAR" size="32" required="true" default="" />
|
||||||
<column name="MSGED_USR_UID" type="VARCHAR" size="32" required="true" default="" />
|
<column name="MSGED_USR_UID" type="VARCHAR" size="32" required="true" default="" />
|
||||||
<column name="MSGED_VARIABLES" type="LONGVARCHAR" required="true" default="" />
|
<column name="MSGED_VARIABLES" type="LONGVARCHAR" required="true" />
|
||||||
<column name="MSGED_CORRELATION" type="VARCHAR" size="512" required="true" default="" />
|
<column name="MSGED_CORRELATION" type="VARCHAR" size="512" required="true" default="" />
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
@@ -4449,7 +4456,7 @@
|
|||||||
<column name="PRJ_UID" type="VARCHAR" size="32" required="true" />
|
<column name="PRJ_UID" type="VARCHAR" size="32" required="true" />
|
||||||
<column name="EVN_UID_THROW" type="VARCHAR" size="32" required="true" />
|
<column name="EVN_UID_THROW" type="VARCHAR" size="32" required="true" />
|
||||||
<column name="EVN_UID_CATCH" type="VARCHAR" size="32" required="true" />
|
<column name="EVN_UID_CATCH" type="VARCHAR" size="32" required="true" />
|
||||||
<column name="MSGAPP_VARIABLES" type="LONGVARCHAR" required="true" default="" />
|
<column name="MSGAPP_VARIABLES" type="LONGVARCHAR" required="true" />
|
||||||
<column name="MSGAPP_CORRELATION" type="VARCHAR" size="512" required="true" default="" />
|
<column name="MSGAPP_CORRELATION" type="VARCHAR" size="512" required="true" default="" />
|
||||||
<column name="MSGAPP_THROW_DATE" type="TIMESTAMP" required="true" />
|
<column name="MSGAPP_THROW_DATE" type="TIMESTAMP" required="true" />
|
||||||
<column name="MSGAPP_CATCH_DATE" type="TIMESTAMP" required="false" />
|
<column name="MSGAPP_CATCH_DATE" type="TIMESTAMP" required="false" />
|
||||||
|
|||||||
@@ -697,6 +697,13 @@ CREATE TABLE `USERS`
|
|||||||
`USR_REPORTS_TO` VARCHAR(32) default '',
|
`USR_REPORTS_TO` VARCHAR(32) default '',
|
||||||
`USR_REPLACED_BY` VARCHAR(32) default '',
|
`USR_REPLACED_BY` VARCHAR(32) default '',
|
||||||
`USR_UX` VARCHAR(128) default 'NORMAL',
|
`USR_UX` VARCHAR(128) default 'NORMAL',
|
||||||
|
`USR_TOTAL_INBOX` INTEGER default 0,
|
||||||
|
`USR_TOTAL_DRAFT` INTEGER default 0,
|
||||||
|
`USR_TOTAL_CANCELLED` INTEGER default 0,
|
||||||
|
`USR_TOTAL_PARTICIPATED` INTEGER default 0,
|
||||||
|
`USR_TOTAL_PAUSED` INTEGER default 0,
|
||||||
|
`USR_TOTAL_COMPLETED` INTEGER default 0,
|
||||||
|
`USR_TOTAL_UNASSIGNED` INTEGER default 0,
|
||||||
PRIMARY KEY (`USR_UID`)
|
PRIMARY KEY (`USR_UID`)
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Users';
|
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Users';
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
@@ -2199,7 +2206,7 @@ CREATE TABLE `LIST_INBOX`
|
|||||||
`TAS_UID` VARCHAR(32) default '' NOT NULL,
|
`TAS_UID` VARCHAR(32) default '' NOT NULL,
|
||||||
`PRO_UID` VARCHAR(32) default '' NOT NULL,
|
`PRO_UID` VARCHAR(32) default '' NOT NULL,
|
||||||
`APP_NUMBER` INTEGER default 0 NOT NULL,
|
`APP_NUMBER` INTEGER default 0 NOT NULL,
|
||||||
`APP_STATUS` VARCHAR(32) default '' NOT NULL,
|
`APP_STATUS` VARCHAR(32) default '0',
|
||||||
`APP_TITLE` VARCHAR(255) default '' NOT NULL,
|
`APP_TITLE` VARCHAR(255) default '' NOT NULL,
|
||||||
`APP_PRO_TITLE` VARCHAR(255) default '' NOT NULL,
|
`APP_PRO_TITLE` VARCHAR(255) default '' NOT NULL,
|
||||||
`APP_TAS_TITLE` VARCHAR(255) default '' NOT NULL,
|
`APP_TAS_TITLE` VARCHAR(255) default '' NOT NULL,
|
||||||
@@ -2278,7 +2285,7 @@ CREATE TABLE `LIST_PARTICIPATED_LAST`
|
|||||||
`DEL_DUE_DATE` DATETIME,
|
`DEL_DUE_DATE` DATETIME,
|
||||||
`DEL_PRIORITY` VARCHAR(32) default '3' NOT NULL,
|
`DEL_PRIORITY` VARCHAR(32) default '3' NOT NULL,
|
||||||
`DEL_THREAD_STATUS` VARCHAR(32) default 'OPEN' NOT NULL,
|
`DEL_THREAD_STATUS` VARCHAR(32) default 'OPEN' NOT NULL,
|
||||||
PRIMARY KEY (`APP_UID`,`DEL_INDEX`,`USR_UID`)
|
PRIMARY KEY (`APP_UID`,`USR_UID`)
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Participated last list';
|
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Participated last list';
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
#-- LIST_COMPLETED
|
#-- LIST_COMPLETED
|
||||||
@@ -2483,6 +2490,7 @@ CREATE TABLE `MESSAGE_TYPE_VARIABLE`
|
|||||||
|
|
||||||
DROP TABLE IF EXISTS `EMAIL_SERVER`;
|
DROP TABLE IF EXISTS `EMAIL_SERVER`;
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE `EMAIL_SERVER`
|
CREATE TABLE `EMAIL_SERVER`
|
||||||
(
|
(
|
||||||
`MESS_UID` VARCHAR(32) default '' NOT NULL,
|
`MESS_UID` VARCHAR(32) default '' NOT NULL,
|
||||||
@@ -2520,79 +2528,74 @@ CREATE TABLE `WEB_ENTRY_EVENT`
|
|||||||
`WEE_WE_TAS_UID` VARCHAR(32) default '' NOT NULL,
|
`WEE_WE_TAS_UID` VARCHAR(32) default '' NOT NULL,
|
||||||
PRIMARY KEY (`WEE_UID`)
|
PRIMARY KEY (`WEE_UID`)
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
|
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
|
||||||
# This restores the fkey checks, after having unset them earlier
|
|
||||||
SET FOREIGN_KEY_CHECKS = 1;
|
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
#-- MESSAGE_EVENT_DEFINITION
|
#-- MESSAGE_EVENT_DEFINITION
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
||||||
DROP TABLE IF EXISTS MESSAGE_EVENT_DEFINITION;
|
DROP TABLE IF EXISTS `MESSAGE_EVENT_DEFINITION`;
|
||||||
|
|
||||||
CREATE TABLE MESSAGE_EVENT_DEFINITION
|
|
||||||
|
CREATE TABLE `MESSAGE_EVENT_DEFINITION`
|
||||||
(
|
(
|
||||||
MSGED_UID VARCHAR(32) NOT NULL,
|
`MSGED_UID` VARCHAR(32) NOT NULL,
|
||||||
PRJ_UID VARCHAR(32) NOT NULL,
|
`PRJ_UID` VARCHAR(32) NOT NULL,
|
||||||
EVN_UID VARCHAR(32) NOT NULL,
|
`EVN_UID` VARCHAR(32) NOT NULL,
|
||||||
MSGT_UID VARCHAR(32) NOT NULL DEFAULT '',
|
`MSGT_UID` VARCHAR(32) default '' NOT NULL,
|
||||||
MSGED_USR_UID VARCHAR(32) NOT NULL DEFAULT '',
|
`MSGED_USR_UID` VARCHAR(32) default '' NOT NULL,
|
||||||
MSGED_VARIABLES MEDIUMTEXT NOT NULL DEFAULT '',
|
`MSGED_VARIABLES` MEDIUMTEXT NOT NULL,
|
||||||
MSGED_CORRELATION VARCHAR(512) NOT NULL DEFAULT '',
|
`MSGED_CORRELATION` VARCHAR(512) default '' NOT NULL,
|
||||||
|
PRIMARY KEY (`MSGED_UID`)
|
||||||
PRIMARY KEY (MSGED_UID)
|
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
|
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
#-- MESSAGE_EVENT_RELATION
|
#-- MESSAGE_EVENT_RELATION
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
||||||
DROP TABLE IF EXISTS MESSAGE_EVENT_RELATION;
|
DROP TABLE IF EXISTS `MESSAGE_EVENT_RELATION`;
|
||||||
|
|
||||||
CREATE TABLE MESSAGE_EVENT_RELATION
|
|
||||||
|
CREATE TABLE `MESSAGE_EVENT_RELATION`
|
||||||
(
|
(
|
||||||
MSGER_UID VARCHAR(32) NOT NULL,
|
`MSGER_UID` VARCHAR(32) NOT NULL,
|
||||||
PRJ_UID VARCHAR(32) NOT NULL,
|
`PRJ_UID` VARCHAR(32) NOT NULL,
|
||||||
EVN_UID_THROW VARCHAR(32) NOT NULL,
|
`EVN_UID_THROW` VARCHAR(32) NOT NULL,
|
||||||
EVN_UID_CATCH VARCHAR(32) NOT NULL,
|
`EVN_UID_CATCH` VARCHAR(32) NOT NULL,
|
||||||
|
PRIMARY KEY (`MSGER_UID`)
|
||||||
PRIMARY KEY (MSGER_UID)
|
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
|
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
#-- MESSAGE_EVENT_TASK_RELATION
|
#-- MESSAGE_EVENT_TASK_RELATION
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
||||||
DROP TABLE IF EXISTS MESSAGE_EVENT_TASK_RELATION;
|
DROP TABLE IF EXISTS `MESSAGE_EVENT_TASK_RELATION`;
|
||||||
|
|
||||||
CREATE TABLE MESSAGE_EVENT_TASK_RELATION
|
|
||||||
|
CREATE TABLE `MESSAGE_EVENT_TASK_RELATION`
|
||||||
(
|
(
|
||||||
MSGETR_UID VARCHAR(32) NOT NULL,
|
`MSGETR_UID` VARCHAR(32) NOT NULL,
|
||||||
PRJ_UID VARCHAR(32) NOT NULL,
|
`PRJ_UID` VARCHAR(32) NOT NULL,
|
||||||
EVN_UID VARCHAR(32) NOT NULL,
|
`EVN_UID` VARCHAR(32) NOT NULL,
|
||||||
TAS_UID VARCHAR(32) NOT NULL,
|
`TAS_UID` VARCHAR(32) NOT NULL,
|
||||||
|
PRIMARY KEY (`MSGETR_UID`)
|
||||||
PRIMARY KEY (MSGETR_UID)
|
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
|
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
#-- MESSAGE_APPLICATION
|
#-- MESSAGE_APPLICATION
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
||||||
DROP TABLE IF EXISTS MESSAGE_APPLICATION;
|
DROP TABLE IF EXISTS `MESSAGE_APPLICATION`;
|
||||||
|
|
||||||
CREATE TABLE MESSAGE_APPLICATION
|
|
||||||
|
CREATE TABLE `MESSAGE_APPLICATION`
|
||||||
(
|
(
|
||||||
MSGAPP_UID VARCHAR(32) NOT NULL,
|
`MSGAPP_UID` VARCHAR(32) NOT NULL,
|
||||||
APP_UID VARCHAR(32) NOT NULL,
|
`APP_UID` VARCHAR(32) NOT NULL,
|
||||||
PRJ_UID VARCHAR(32) NOT NULL,
|
`PRJ_UID` VARCHAR(32) NOT NULL,
|
||||||
EVN_UID_THROW VARCHAR(32) NOT NULL,
|
`EVN_UID_THROW` VARCHAR(32) NOT NULL,
|
||||||
EVN_UID_CATCH VARCHAR(32) NOT NULL,
|
`EVN_UID_CATCH` VARCHAR(32) NOT NULL,
|
||||||
MSGAPP_VARIABLES MEDIUMTEXT NOT NULL DEFAULT '',
|
`MSGAPP_VARIABLES` MEDIUMTEXT NOT NULL,
|
||||||
MSGAPP_CORRELATION VARCHAR(512) NOT NULL DEFAULT '',
|
`MSGAPP_CORRELATION` VARCHAR(512) default '' NOT NULL,
|
||||||
MSGAPP_THROW_DATE DATETIME NOT NULL,
|
`MSGAPP_THROW_DATE` DATETIME NOT NULL,
|
||||||
MSGAPP_CATCH_DATE DATETIME,
|
`MSGAPP_CATCH_DATE` DATETIME,
|
||||||
MSGAPP_STATUS VARCHAR(25) NOT NULL DEFAULT 'UNREAD',
|
`MSGAPP_STATUS` VARCHAR(25) default 'UNREAD' NOT NULL,
|
||||||
|
PRIMARY KEY (`MSGAPP_UID`)
|
||||||
PRIMARY KEY (MSGAPP_UID)
|
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
|
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
|
||||||
|
# This restores the fkey checks, after having unset them earlier
|
||||||
|
SET FOREIGN_KEY_CHECKS = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user