public function dropDatabase($name) { if (PostgreSQLDatabase::model_schema_as_database()) { $schemaName = $this->database->databaseToSchemaName($name); return $this->dropSchema($schemaName); } $this->dropPostgresDatabase($name); }