manned/sql/update-2016-10-03.sql
2016-10-03 20:04:23 +02:00

4 lines
261 B
SQL

-- This check is not consistent with the HTML-check in util/add_dir.pl, but it
-- happens to match exactly the same man pages currently.
DELETE FROM man WHERE section = 'html';
DELETE FROM contents c WHERE NOT EXISTS(SELECT 1 FROM man m WHERE m.hash = c.hash);