Thursday, December 24, 2015

Drupal 7: Enabling comments for all nodes at once


To enable comments for all nodes at once use the following query:


UPDATE `node` SET comment = 2 WHERE comment = 1;
UPDATE `node_revision` SET comment = 2 WHERE comment = 1;

1 comment:

  1. Excellent and helpful post… I am so glad to left comment on this...I appreciate your effort..
    Angularjs Development Services | node.js development services

    ReplyDelete