--
-- Host: localhost    Database: toshko_db
-- ------------------------------------------------------


--
-- Table structure for table `Usuario`
--

CREATE TABLE `Usuario` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(50) NOT NULL,
  `apellido` varchar(50) NOT NULL,
  `email` varchar(100) NOT NULL,
  `edad` int(11) DEFAULT NULL CHECK (`edad` >= 0),
  `contraseña` varchar(255) NOT NULL,
  `fecha_registro` timestamp NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`),
  UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Usuario`
--

INSERT INTO `Usuario` VALUES
(1,'Juan','Pérez','juan.perez@example.com',30,'clave123','2025-02-08 22:43:21');


