drop_postgres

Function drop_postgres 

Source
pub async fn drop_postgres(pg: &PgPool, database: String) -> Result<()>
Expand description

Drops the Postgres database with the given name using the provided connection pool.

ยงErrors

Returns an error if the DROP DATABASE command fails.