function dropSchema($schemaname, $cascade) { $this->fieldClean($schemaname); $sql = "DROP SCHEMA \"{$schemaname}\""; if ($cascade) { $sql .= " CASCADE"; } return $this->execute($sql); }