Skip to content

Instantly share code, notes, and snippets.

@Jany-M
Forked from abrudtkuhl/wp_posts.reset.sql
Created August 5, 2016 20:07
Show Gist options
  • Save Jany-M/ffaa9c8110a1b1e7388f778954da241f to your computer and use it in GitHub Desktop.
Save Jany-M/ffaa9c8110a1b1e7388f778954da241f to your computer and use it in GitHub Desktop.
Reset Auto_Increment in WordPress Posts table
/*DELETE FROM wp_posts;
DELETE FROM wp_postmeta;*/
TRUNCATE TABLE wp_posts;
TRUNCATE TABLE wp_postmeta;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment