pub async fn create_database_pool( database_url: &str, ) -> Result<Arc<Pool<Postgres>>, HttpError>
Helper function to create a database pool directly