Files
gupi-osint-board/migrations/042_mounted_clipping_cards.sql
T

9 lines
270 B
SQL
Raw Normal View History

UPDATE osint.exhibits AS exhibit
SET width = 230,
height = 290,
updated_at = NOW()
FROM osint.document_exhibits AS document
WHERE document.exhibit_id = exhibit.id
AND document.capture_kind_id = 'clipping'
AND (exhibit.width <> 230 OR exhibit.height <> 290);