CREATE TABLE `temporales`.`db_log` (
  `date` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `user_id` char(10),
  `type` enum ('INSERT','UPDATE','DELETE'),
  `table_name` varchar(80),
  `table_id` int NULL,
  `rows` int NOT NULL DEFAULT 0,
  `query` mediumtext
) ENGINE=MyISAM DEFAULT CHARSET = 'utf8mb4';


