Adding db clear endpoint