?
Current File : /home/sanghavirealty/www/update File .txt

Query Update Feb 6

ALTER TABLE `awardrequest` ADD `area` VARCHAR(255) NULL DEFAULT NULL AFTER `award`, 
ADD `medium` VARCHAR(255) NULL DEFAULT NULL AFTER `area`, ADD `standard` VARCHAR(255) 
NULL DEFAULT NULL AFTER `medium`, ADD `institute` VARCHAR(255) NULL DEFAULT NULL AFTER 
`standard`, ADD `totalmarks` INT(11) NULL DEFAULT NULL AFTER `institute`, ADD `optainedmarks` 
INT(11) NULL DEFAULT NULL AFTER `totalmarks`;


created a int field in by year in leadership table

UPDATE `leadership` SET `year` = '1991' WHERE `leadership`.`id` = 1;

ALTER TABLE `leadership` ADD `address` VARCHAR(225) NULL DEFAULT NULL AFTER `phone`;

update award request form and manager 
Leadership section created 

   Route::get ('admin-leadership-manager/',[LeadershipController::class,'loadleadershipList'] );
   Route::get ('admin-leadership-modify/',[LeadershipController::class,'loadleadershipInForm'] );
   Route::get ('admin-leadership-modify/{slug}',[LeadershipController::class,'loadleadershipInForm'] );
   Route::post ('admin-leadership-update/',[LeadershipController::class,'updateleadership'] );
   Route::get ('admin-leadership-drop/{lid}/{id}',[LeadershipController::class,'dropleadership'] );



   INSERT INTO `widgetstbl` (`id`, `title`, `orderby`, `subtitle`, `type`, `DoNotEdit`, `Editor`, `VisibileType`, `url`, `key`, `secret`, `password`, `note`, `isEditorRequired`, `ctatitle`, `ctaurl`, `image`, `help`, `currentstatus`, `createby`, `createip`, `createdate`, `modifyby`, `modifyip`, `modifydate`) VALUES (NULL, 'Governing Team', '', NULL, 'LeadershipSection', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);

INSERT INTO `widgetstbl` (`id`, `title`, `orderby`, `subtitle`, `type`, `DoNotEdit`, `Editor`, `VisibileType`, `url`, `key`, `secret`, `password`, `note`, `isEditorRequired`, `ctatitle`, `ctaurl`, `image`, `help`, `currentstatus`, `createby`, `createip`, `createdate`, `modifyby`, `modifyip`, `modifydate`) VALUES (NULL, 'Treasurer Team', '', NULL, 'LeadershipSection', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);


INSERT INTO `widgetstbl` (`id`, `title`, `orderby`, `subtitle`, `type`, `DoNotEdit`, `Editor`, `VisibileType`, `url`, `key`, `secret`, `password`, `note`, `isEditorRequired`, `ctatitle`, `ctaurl`, `image`, `help`, `currentstatus`, `createby`, `createip`, `createdate`, `modifyby`, `modifyip`, `modifydate`) VALUES (NULL, 'Donors', '', NULL, 'LeadershipSection', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);


ALTER TABLE `leadership` ADD `code` TEXT NULL DEFAULT NULL AFTER `image`;

2 fields added to personal brand table query missing

ALTER TABLE `masterlocationtbl` ADD `section` INT(11) NULL DEFAULT NULL AFTER `title`;

UPDATE `masterlocationtbl` SET `section`='1' WHERE 1

use App\Http\Controllers\MsgNotifyController;

CREATE TABLE IF NOT EXISTS `msgnotifications` ( `id` int(11) NOT NULL AUTO_INCREMENT, `city` varchar(255) DEFAULT NULL,`area` varchar(255) DEFAULT NULL,`message` varchar(255) DEFAULT NULL, `currentstatus` int(11) DEFAULT '0', `createby` int(11) DEFAULT NULL, `createip` varchar(100) DEFAULT NULL, `createdate` date DEFAULT NULL, `modifyby` int(11) DEFAULT NULL, `modifyip` varchar(100) DEFAULT NULL, `modifydate` date DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;


CREATE TABLE IF NOT EXISTS `msg` ( `id` int(11) NOT NULL AUTO_INCREMENT, `message` varchar(255) DEFAULT NULL, 
`currentstatus` int(11) DEFAULT '0', `createby` int(11) DEFAULT NULL, `createip` varchar(100) DEFAULT NULL, 
`createdate` date DEFAULT NULL, `modifyby` int(11) DEFAULT NULL, `modifyip` varchar(100) DEFAULT NULL, 
`modifydate` date DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

ALTER TABLE `msg` ADD `code` TEXT NULL DEFAULT NULL AFTER `id`;
ALTER TABLE `msgnotifications` ADD `personalbrand_id` INT(11) NULL DEFAULT NULL AFTER `user_id`;
ALTER TABLE `msgnotifications` ADD `family_head` VARCHAR(2) NULL DEFAULT NULL AFTER `personalbrand_id`;