Enable comments on all nodes of the content type

Public

</> CopyGet raw version
sql
  1. UPDATE NODE SET 'comment' = 2 WHERE 'type' = 'content_type';
  2. UPDATE 'node_revision' SET 'comment' = 2 WHERE 'nid' IN (SELECT 'nid' FROM 'node' WHERE 'type' = 'content_type');