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('propel'); $tMap = $this->dbMap->addTable('st_trusted_shops'); $tMap->setPhpName('TrustedShops'); $tMap->setUseIdGenerator(true); $tMap->addColumn('CREATED_AT', 'CreatedAt', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('UPDATED_AT', 'UpdatedAt', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null); $tMap->addColumn('CERTIFICATE', 'Certificate', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('USERNAME', 'Username', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('PASSWORD', 'Password', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('TYPE', 'Type', 'string', CreoleTypes::VARCHAR, false, 20); $tMap->addColumn('URL', 'Url', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('LANGUAGE', 'Language', 'string', CreoleTypes::VARCHAR, false, 2); $tMap->addColumn('STATUS', 'Status', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('LOGO', 'Logo', 'boolean', CreoleTypes::BOOLEAN, false, null); $tMap->addColumn('RATING_WIDGET', 'RatingWidget', 'boolean', CreoleTypes::BOOLEAN, false, null); $tMap->addColumn('RATING_STATUS', 'RatingStatus', 'boolean', CreoleTypes::BOOLEAN, false, null); $tMap->addColumn('RATING_IN_ORDER_MAIL', 'RatingInOrderMail', 'boolean', CreoleTypes::BOOLEAN, false, null); $tMap->addColumn('TRUSTBADGE_CODE', 'TrustbadgeCode', 'string', CreoleTypes::LONGVARCHAR, false, null); } // doBuild() } // TrustedShopsMapBuilder