self.cursor.execute("UPDATE news_item SET publication_date=collection_date WHERE publication_date='2100-01-01';")
self.conn.commit()
self.cursor.execute("WITH todelete AS (SELECT news_id FROM news_item WHERE content='' OR headline='' OR content='\n\n') DELETE FROM source WHERE news_id IN (SELECT * FROM todelete);")
self.conn.commit()
self.cursor.execute("WITH todelete AS (SELECT news_id FROM news_item WHERE content='' OR headline='' OR content='\n\n') DELETE FROM tags WHERE news_id IN (SELECT * FROM todelete);")
self.conn.commit()
self.cursor.execute("DELETE FROM news_item WHERE content='' OR headline='' OR content='\n\n';")