dbMap !== null); } /** * Gets the databasemap this map builder built. * * @return the databasemap */ public function getDatabaseMap() { return $this->dbMap; } /** * The doBuild() method builds the DatabaseMap * * @return void * @throws PropelException */ public function doBuild() { $this->dbMap = Propel::getDatabaseMap('workflow'); $tMap = $this->dbMap->addTable('JOBS_FAILED'); $tMap->setPhpName('JobsFailed'); $tMap->setUseIdGenerator(true); $tMap->addPrimaryKey('ID', 'Id', 'string', CreoleTypes::BIGINT, true, 20); $tMap->addColumn('CONNECTION', 'Connection', 'string', CreoleTypes::LONGVARCHAR, true, null); $tMap->addColumn('QUEUE', 'Queue', 'string', CreoleTypes::LONGVARCHAR, true, null); $tMap->addColumn('PAYLOAD', 'Payload', 'string', CreoleTypes::LONGVARCHAR, true, null); $tMap->addColumn('EXCEPTION', 'Exception', 'string', CreoleTypes::LONGVARCHAR, true, null); $tMap->addColumn('FAILED_AT', 'FailedAt', 'int', CreoleTypes::TIMESTAMP, true, null); } // doBuild() } // JobsFailedMapBuilder