CREATE TABLE `img_new` (
  `serial_imgn` INT NOT NULL AUTO_INCREMENT,
  `name_img` VARCHAR(45) NULL,
  `status_imgn` ENUM('ACTIVE', 'INACTIVE') NOT NULL DEFAULT 'ACTIVE',
  PRIMARY KEY (`serial_imgn`));
ALTER TABLE `img_new`
ADD COLUMN `serial_new` INT NOT NULL AFTER `serial_imgn`,
ADD INDEX `fk_img_news_idx` (`serial_new` ASC);
ALTER TABLE `img_new`
ADD CONSTRAINT `fk_img_news`
  FOREIGN KEY (`serial_new`)
  REFERENCES `new` (`serial_new`)
  ON DELETE NO ACTION
  ON UPDATE NO ACTION;

INSERT INTO `process` (`serial_prc`, `prc_serial_prc`, `name_prc`, `link_prc`, `weight_prc`, `status_prc`) VALUES ('692', '199', 'Noticias', 'laravel/public/news', '401.00', 'LOCKABLE');

INSERT INTO `allowed_pages_by_process` (`serial_prc`,`url_dsc`) VALUES (692,'newscontroller@getindex');
INSERT INTO `allowed_pages_by_process` (`serial_prc`,`url_dsc`) VALUES (692,'newscontroller@getnewstable');
INSERT INTO `allowed_pages_by_process` (`serial_prc`,`url_dsc`) VALUES (692,'newscontroller@postcreate');
INSERT INTO `allowed_pages_by_process` (`serial_prc`,`url_dsc`) VALUES (692,'newscontroller@postedit');
INSERT INTO `allowed_pages_by_process` (`serial_prc`,`url_dsc`) VALUES (692,'newscontroller@postdelete');
INSERT INTO `allowed_pages_by_process` (`serial_prc`,`url_dsc`) VALUES (692,'newscontroller@getcreatemodal');
INSERT INTO `allowed_pages_by_process` (`serial_prc`,`url_dsc`) VALUES (692,'newscontroller@getviewmodal');
INSERT INTO `allowed_pages_by_process` (`serial_prc`,`url_dsc`) VALUES (692,'newscontroller@geteditmodal');
INSERT INTO `allowed_pages_by_process` (`serial_prc`,`url_dsc`) VALUES (692,'newscontroller@getdeletemodal');
