Source for file EtvaVncTokensMapBuilder.php
Documentation is available at EtvaVncTokensMapBuilder.php
* This class adds structure of 'vnc_tokens' table to 'propel' DatabaseMap object.
* This class was autogenerated by Propel 1.3.0-dev on:
* Thu Jun 18 11:27:25 2009
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
* The (dot-path) name of this class
const CLASS_NAME = 'lib.model.map.EtvaVncTokensMapBuilder';
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
return ($this->dbMap !== null);
* Gets the databasemap this map builder built.
* @return the databasemap
* The doBuild() method builds the DatabaseMap
* @throws PropelException
$this->dbMap = Propel::getDatabaseMap(EtvaVncTokensPeer::DATABASE_NAME);
$tMap = $this->dbMap->addTable(EtvaVncTokensPeer::TABLE_NAME);
$tMap->setPhpName('EtvaVncTokens');
$tMap->setClassname('EtvaVncTokens');
$tMap->setUseIdGenerator(false);
$tMap->addPrimaryKey('USERNAME', 'Username', 'VARCHAR', true, 255);
$tMap->addColumn('TOKEN', 'Token', 'INTEGER', true, null);
$tMap->addColumn('ENCTOKEN', 'Enctoken', 'INTEGER', true, null);
$tMap->addColumn('DATE', 'Date', 'TIMESTAMP', false, null);
$tMap->addForeignKey('USER_ID', 'UserId', 'INTEGER', 'sf_guard_user', 'ID', true, null);
} // EtvaVncTokensMapBuilder
|