/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Userprofilelock
 * @copyright  Copyright 2006-2025 Ahead WebSoft Technologies
 * @license    https://socialengine.com/eula
 * @version    $Id: my.sql 2025-04-04 00:00:00Z 
 * @author     SocialEngine
 */


INSERT IGNORE INTO `engine4_core_menuitems` (`name`, `module`, `label`, `plugin`, `params`, `menu`, `submenu`, `order`) VALUES ('core_admin_main_plugins_userprofilelock', 'userprofilelock', 'User Profile Lock', '', '{"route":"admin_default","module":"userprofilelock","controller":"settings"}', 'core_admin_main_plugins', '', 999);


ALTER TABLE `engine4_users` ADD `profilelock` TINYINT(1) NOT NULL DEFAULT "0";

INSERT IGNORE INTO `engine4_core_menuitems` (`name`, `module`, `label`, `plugin`, `params`, `menu`, `submenu`, `order`) VALUES
('user_profilelock', 'user', 'Lock Profile', 'Userprofilelock_Plugin_Menus', '', 'user_profile', '', 999);
