Simplify SQL

3 jobs for history-cleanup in 2 minutes and 52 seconds (queued for 4 minutes and 34 seconds)
Status Job ID Name Coverage
  Test
passed #19191
run-appdata

00:00:04

passed #19190
run-tests

00:02:38

 
  Build
passed #19192
run-build

00:00:08