Skip to content

Instantly share code, notes, and snippets.

@andrijeski
Forked from georgestephanis/ecchi.sql
Created June 18, 2012 04:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrijeski/2946828 to your computer and use it in GitHub Desktop.
Save andrijeski/2946828 to your computer and use it in GitHub Desktop.
sql for ecchi
UPDATE `wp_term_taxonomy`
SET `parent` = '1013'
WHERE `parent` = '0'
AND `taxonomy` = 'category'
AND `term_id` != '1013'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment