Skip to content

Instantly share code, notes, and snippets.

@johnalarcon
Last active December 4, 2019 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnalarcon/eebb5ed1a6c5e7dd137e57bb4ef01dae to your computer and use it in GitHub Desktop.
Save johnalarcon/eebb5ed1a6c5e7dd137e57bb4ef01dae to your computer and use it in GitHub Desktop.
/*
If you are switching from f(x) Updater [or] if you are moving
from Update Manager RC1 to RC2, run the following two queries
directly against your database to convert the post types into
the post types used by RC2. In these queries, you must change
the prefix "cp_" to match your own prefix. This is a one-time
thing to resolve issue #1.
See: https://github.com/codepotent/Update-Manager/issues/1
*/
UPDATE cp_posts SET guid = REPLACE(guid, 'plugin_repo', 'plugin_endpoint');
UPDATE cp_posts SET post_type = REPLACE(post_type, 'plugin_repo', 'plugin_endpoint');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment