dbMap !== null); } public function getDatabaseMap() { return $this->dbMap; } public function doBuild() { $this->dbMap = Propel::getDatabaseMap('propel'); $tMap = $this->dbMap->addTable('unprocessed_devices'); $tMap->setPhpName('UnprocessedDevices'); $tMap->setUseIdGenerator(true); $tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null); $tMap->addColumn('FILENAME', 'Filename', 'string', CreoleTypes::VARCHAR, false, 250); $tMap->addColumn('DEVICE_ID', 'DeviceId', 'string', CreoleTypes::VARCHAR, false, 50); $tMap->addColumn('CREATED_AT', 'CreatedAt', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('UPDATED_AT', 'UpdatedAt', 'int', CreoleTypes::TIMESTAMP, false, null); } }