BUG 000 PM tables ver2 ready - propel & phing integration

This commit is contained in:
Erik Amaru Ortiz
2011-08-29 11:39:22 -04:00
parent 5b0da08227
commit f7fcd0472d
46 changed files with 826 additions and 5278 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -84,7 +84,7 @@ class DbSource extends BaseDbSource
return $oCriteria;
}
public function load($Uid, $ProUID)
public function load($Uid, $ProUID='')
{
try {
$oRow = DbSourcePeer::retrieveByPK($Uid, $ProUID);

View File

@@ -74,9 +74,9 @@ class FieldsMapBuilder {
$tMap->addColumn('FLD_DESCRIPTION', 'FldDescription', 'string', CreoleTypes::LONGVARCHAR, true, null);
$tMap->addColumn('FLD_TYPE', 'FldType', 'string', CreoleTypes::VARCHAR, true, 10);
$tMap->addColumn('FLD_TYPE', 'FldType', 'string', CreoleTypes::VARCHAR, true, 20);
$tMap->addColumn('FLD_SIZE', 'FldSize', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('FLD_SIZE', 'FldSize', 'int', CreoleTypes::INTEGER, false, null);
$tMap->addColumn('FLD_NULL', 'FldNull', 'int', CreoleTypes::TINYINT, true, null);

View File

@@ -74,7 +74,7 @@ abstract class BaseFields extends BaseObject implements Persistent {
* The value for the fld_size field.
* @var int
*/
protected $fld_size = 1;
protected $fld_size = 0;
/**
@@ -458,7 +458,7 @@ abstract class BaseFields extends BaseObject implements Persistent {
$v = (int) $v;
}
if ($this->fld_size !== $v || $v === 1) {
if ($this->fld_size !== $v || $v === 0) {
$this->fld_size = $v;
$this->modifiedColumns[] = FieldsPeer::FLD_SIZE;
}