sui_indexer::db::setup_postgres

Function clear_database

Source
pub async fn clear_database(conn: &mut Connection<'static>) -> Result<(), Error>