Merge branch 'RED-8712' into 'release/2.349.x'
RED-8712: Fixed sql statement See merge request redactmanager/persistence-service!388
This commit is contained in:
commit
bd3fb2695d
@ -1,7 +1,7 @@
|
|||||||
Delete
|
Delete
|
||||||
from redaction.manual_redaction
|
from manual_redaction
|
||||||
where concat(annotation_id, file_id) in (SELECT concat(manual_redaction_entry_entity_annotation_id, id)
|
where concat(annotation_id, file_id) in (SELECT concat(manual_redaction_entry_entity_annotation_id, id)
|
||||||
from redaction.file file
|
from file file
|
||||||
JOIN redaction.manual_redaction_entry_entity_positions pos
|
JOIN manual_redaction_entry_entity_positions pos
|
||||||
ON file.id = pos.manual_redaction_entry_entity_file_id
|
ON file.id = pos.manual_redaction_entry_entity_file_id
|
||||||
where file.number_of_pages < pos.page);
|
where file.number_of_pages < pos.page);
|
||||||
Loading…
x
Reference in New Issue
Block a user