On Drupal 7.58, I deleted a content type for which thousands of nodes existed. On this version of Drupal, deleting the content type is allowed even if nodes still exist (see Does deleting a content type also delete all nodes of that type?)
How should I proceed to clean my database and remove any nodes of that content type?
Would it be safe to do something along the lines of:
SELECT * from node WHERE type = "content_type_name"
and use all the node ids (nid) from that query to delete rows from
node_revision? And then delete the rows from