Skip to content

Instantly share code, notes, and snippets.

@pH-7
Last active July 1, 2017 22:09
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 pH-7/bf8bc02b572454dcd236a1d91aeb3cec to your computer and use it in GitHub Desktop.
Save pH-7/bf8bc02b572454dcd236a1d91aeb3cec to your computer and use it in GitHub Desktop.
SQL script to update pH7CMS from version 5.* to 7.1.3
--
-- Author: Pierre-Henry Soria <hello@ph7cms.com>
-- Copyright: (c) 2017, Pierre-Henry Soria. All Rights Reserved.
-- License: GNU General Public License; https://www.gnu.org/licenses/gpl-3.0.en.html
--
--- Replace 'PH7_' by your prefix set in "~/_protected/app/configs/config.ini" [database] prefix
INSERT INTO PH7_Settings (`name`, value, `desc`, `group`) VALUES
('profileWithAvatarSet', 0, '1 to display only the profiles with a profile photo.', 'homepage');
-- Update pH7CMS's SQL schema version
UPDATE PH7_Modules SET version = '1.3.7' WHERE vendorName = 'pH7CMS';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment