Last active
March 7, 2017 22:32
-
-
Save pH-7/a96f4cd93d9d054bf12c963b2363b24d to your computer and use it in GitHub Desktop.
SQL script to update pH7CMS from version 5.0.0 to 6.0.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- Author: Pierre-Henry Soria <[email protected]> | |
-- Copyright: (c) 2016, 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 | |
('usersBlock', 1, '0 to disable or 1 to enable the profile photos on the homepage', 'homepage'), | |
('requireRegistrationAvatar', 0, '', 'registration'); | |
INSERT INTO pH7_SysModsEnabled (moduleTitle, folderName, premiumMod, enabled) VALUES | |
('Related Profiles', 'related-profile', '0', '1'), | |
('Friends', 'friend', '0', '1'); | |
-- Update pH7CMS's SQL schema version | |
UPDATE pH7_Modules SET version = '1.3.4' WHERE vendorName = 'pH7CMS'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment