pub async fn create_pool( database_url: &str, max_connections: u32, ) -> Result<PgPool, ShaperailError>
Creates a PostgreSQL connection pool from the given database URL.