Created
January 26, 2016 16:04
-
-
Save tmsss/6b569a908262055c6293 to your computer and use it in GitHub Desktop.
Delete node revisions from database
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DELETE FROM `node_revisions` WHERE node_revisions.vid NOT IN (SELECT node.vid FROM `node` ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment