dbMap !== null); } public function getDatabaseMap() { return $this->dbMap; } public function doBuild() { $this->dbMap = Propel::getDatabaseMap('propel'); $tMap = $this->dbMap->addTable('Event_i18n'); $tMap->setPhpName('EventI18n'); $tMap->setUseIdGenerator(false); $tMap->addColumn('TITLE', 'Title', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('DESCRIPTION', 'Description', 'string', CreoleTypes::LONGVARCHAR, false, null); $tMap->addForeignPrimaryKey('ID', 'Id', 'int' , CreoleTypes::INTEGER, 'Event', 'ID', true, null); $tMap->addPrimaryKey('CULTURE', 'Culture', 'string', CreoleTypes::VARCHAR, true, 7); } }