feat(medicos): módulo CRUD de médicos con tabla, búsqueda y modal edición

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-07-03 00:42:36 -05:00
co-authored by Claude Sonnet 4.6
parent 665fee99a9
commit 1574f12275
6 changed files with 393 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
CREATE TABLE IF NOT EXISTS medicos (
id INT UNSIGNED NOT NULL AUTO_INCREMENT,
codigo VARCHAR(20) NOT NULL UNIQUE,
nombres VARCHAR(100) NOT NULL,
apellidos VARCHAR(100) NOT NULL,
cod_especialidad VARCHAR(50) DEFAULT NULL,
docidmedico VARCHAR(30) DEFAULT NULL,
activo TINYINT(1) NOT NULL DEFAULT 1,
creado_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
actualizado_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;