feat: refs #179918 entry delete isBooked #2393

Merged
robert merged 2 commits from 179918-cleanDeleteEntry into master 2024-05-02 11:46:14 +00:00
1 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,8 @@ BEGIN
DELETE e
FROM entry e
JOIN tEntryToDelete tmp ON tmp.id = e.id;
JOIN tEntryToDelete tmp ON tmp.id = e.id
WHERE NOT e.isBooked;
-- borrar de route registros menores a 4 años
CREATE OR REPLACE TEMPORARY TABLE tRouteToDelete