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_has_order'); $tMap->setPhpName('TrustedShopsHasOrder'); $tMap->setUseIdGenerator(false); $tMap->addColumn('CREATED_AT', 'CreatedAt', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('UPDATED_AT', 'UpdatedAt', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addForeignPrimaryKey('TRUSTED_SHOPS_ID', 'TrustedShopsId', 'int' , CreoleTypes::INTEGER, 'st_trusted_shops', 'ID', true, null); $tMap->addForeignPrimaryKey('ORDER_ID', 'OrderId', 'int' , CreoleTypes::INTEGER, 'st_order', 'ID', true, null); $tMap->addColumn('STATUS', 'Status', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('CHECKED', 'Checked', 'boolean', CreoleTypes::BOOLEAN, false, null); } // doBuild() } // TrustedShopsHasOrderMapBuilder