Skip to content

Instantly share code, notes, and snippets.

@alispx
Created February 22, 2016 04:26
Show Gist options
  • Save alispx/1f07d2cd4f1926024744 to your computer and use it in GitHub Desktop.
Save alispx/1f07d2cd4f1926024744 to your computer and use it in GitHub Desktop.
UPDATE your_table_name SET meta_key = REPLACE( meta_key, 'your_old_meta_key', 'your_new_meta_key' )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment