Created
September 14, 2014 08:40
-
-
Save JohnPreston/a7825462fc3a79403d6b to your computer and use it in GitHub Desktop.
DB Cleanup
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 volume_exports where token in (select id from volume_tokens where volume in (select id from volumes where status='deleted')); | |
| delete from volume_tokens where volume in (select id from volumes where status='deleted'); | |
| delete from volumes where status='deleted'; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment