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('OAUTH_SCOPES'); $tMap->setPhpName('OauthScopes'); $tMap->setUseIdGenerator(false); $tMap->addColumn('TYPE', 'Type', 'string', CreoleTypes::VARCHAR, true, 40); $tMap->addColumn('SCOPE', 'Scope', 'string', CreoleTypes::VARCHAR, false, 2000); $tMap->addColumn('CLIENT_ID', 'ClientId', 'string', CreoleTypes::VARCHAR, false, 80); } // doBuild() } // OauthScopesMapBuilder