ALTER TABLE `citas_juzgados`.`tbl_agenda_diligencias` 
ADD COLUMN `nombre_persona` VARCHAR(185) NULL AFTER `time_fin`;


ALTER TABLE `citas_juzgados`.`tbl_agenda_diligencias` 
CHANGE COLUMN `created_at` `created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ;
ALTER TABLE `citas_juzgados`.`tbl_agenda_diligencias` 
ADD COLUMN `updated_at` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP AFTER `created_at`,
CHANGE COLUMN `created_at` `created_at` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP AFTER `diligencia_confirmada`;
ALTER TABLE `citas_juzgados`.`tbl_agenda_diligencias` 
CHANGE COLUMN `updated_at` `updated_at` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP AFTER `created_at`;
INSERT INTO `citas_juzgados`.`tbl_horario_atenciones` (`id`, `inicio`, `fin`, `turno`) VALUES ('4', '07:00:00', '19:00:00', 'DIL');

INSERT INTO `citas_juzgados`.`tbl_horario_atenciones` (`id`, `inicio`, `fin`, `turno`) VALUES ('7', '07:00:00', '08:00:00', 'DILN');
