Skip to content

Instantly share code, notes, and snippets.

@pH-7
Last active June 25, 2017 15:56
Show Gist options
  • Save pH-7/209dece6710f2dbc7b51 to your computer and use it in GitHub Desktop.
Save pH-7/209dece6710f2dbc7b51 to your computer and use it in GitHub Desktop.
Update SQL DB from pH7CMS 1.3.6 to pH7CMS 1.3.7
--
-- Author: Pierre-Henry Soria <ph7software@gmail.com>
-- Copyright: (c) 2013-2016, Pierre-Henry Soria. All Rights Reserved.
-- License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
--
--- Replace 'PH7_' by your prefix set in "~/_protected/app/configs/config.ini" [database] prefix var
UPDATE PH7_Settings SET `name` = 'bgProfileManualApproval' WHERE `name` = 'profileBackgroundManualApproval';
INSERT INTO PH7_Settings (`name`, value, `desc`, `group`) VALUES
('socialMediaWidgets', 0, 'Enable the Social Media Widgets such as Like and Sharing buttons. 0 = Disable | 1 = Enable', 'general');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment