Skip to content

Instantly share code, notes, and snippets.

@pH-7
Last active July 6, 2017 11:08
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/dfac65456cfa17c33a3a29520b22031c to your computer and use it in GitHub Desktop.
Save pH-7/dfac65456cfa17c33a3a29520b22031c to your computer and use it in GitHub Desktop.
SQL script to update pH7CMS, from version 7.1.3 to 8.0.*
--
-- 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
('allowUserToPartner', 0, 'If 1, gives the possibility to register instantly an account to a partner website', 'registration');
-- Update pH7CMS's SQL schema version
UPDATE PH7_Modules SET version = '1.3.8' WHERE vendorName = 'pH7CMS';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment