Merge pull request 'feat: refs #179918 entry delete isBooked' (!2393) from 179918-cleanDeleteEntry into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2393
Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
This commit is contained in:
Robert Ferrús 2024-05-02 11:46:13 +00:00
commit 9f2c3bbd0d
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