Created
June 27, 2013 00:41
-
-
Save menslow/5873095 to your computer and use it in GitHub Desktop.
TexExpander Snippet for dropping the default WordPress tables (without dropping the whole database). Complete with field for adding your table prefix.
This file contains 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
DROP TABLE %filltext:name=prefix:default=wp:width=6%_commentmeta; | |
DROP TABLE %filltext:name=prefix:default=wp:width=6%_comments; | |
DROP TABLE %filltext:name=prefix:default=wp:width=6%_links; | |
DROP TABLE %filltext:name=prefix:default=wp:width=6%_options; | |
DROP TABLE %filltext:name=prefix:default=wp:width=6%_postmeta; | |
DROP TABLE %filltext:name=prefix:default=wp:width=6%_posts; | |
DROP TABLE %filltext:name=prefix:default=wp:width=6%_term_relationships; | |
DROP TABLE %filltext:name=prefix:default=wp:width=6%_term_taxonomy; | |
DROP TABLE %filltext:name=prefix:default=wp:width=6%_terms; | |
DROP TABLE %filltext:name=prefix:default=wp:width=6%_usermeta; | |
DROP TABLE %filltext:name=prefix:default=wp:width=6%_users; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment