/** * {@inheritdoc} */ public function createSchemaTable() { // Create the public/custom schema if it doesn't already exist if (false === $this->hasSchema($this->getSchemaName())) { $this->createSchema($this->getSchemaName()); } $this->fetchAll(sprintf('SET search_path TO %s', $this->getSchemaName())); return parent::createSchemaTable(); }