CREATE TABLE `222THA` (
  `THACodigo` int(11) NOT NULL AUTO_INCREMENT,
  `THANombre` char(80) COLLATE utf8_spanish_ci NOT NULL DEFAULT '',
  `THACodAgente` int(11) NOT NULL DEFAULT '0',
  `THACodExterno` char(0) COLLATE utf8_spanish_ci NOT NULL DEFAULT '',
  `THALink1_HOT` int(11) NOT NULL,
  `THAEspecial` char(0) COLLATE utf8_spanish_ci NOT NULL DEFAULT '',
  `THABloque51` char(0) COLLATE utf8_spanish_ci NOT NULL DEFAULT '',
  `THACant26` bit(64) NOT NULL DEFAULT b'0',
  `THAFecha1` date NOT NULL,
  `THACant27` int(11) NOT NULL DEFAULT '0',
  `THACant28` int(11) NOT NULL DEFAULT '0',
  `THACant29` int(11) NOT NULL DEFAULT '0',
  `THAImagen1` char(6) COLLATE utf8_spanish_ci NOT NULL DEFAULT '',
  `THACant30` int(11) NOT NULL DEFAULT '0',
  `THAMonto1` double NOT NULL DEFAULT '0',
  `THAMonto2` double NOT NULL DEFAULT '0',
  `THACant31` int(11) NOT NULL DEFAULT '0',
  `THACant32` int(11) NOT NULL DEFAULT '0',
  `THACant33` int(11) NOT NULL DEFAULT '0',
  `THACant34` int(11) NOT NULL DEFAULT '0',
  `THACant35` int(11) NOT NULL DEFAULT '0',
  `THACant36` int(11) NOT NULL DEFAULT '0',
  `THAHora1` time NOT NULL DEFAULT '00:00:00',
  `THABloque54` char(0) COLLATE utf8_spanish_ci NOT NULL DEFAULT '',
  `THAMonto3` double NOT NULL DEFAULT '0',
  `THAMonto4` double NOT NULL DEFAULT '0',
  `THAMonto5` double NOT NULL DEFAULT '0',
  `THAMonto6` double NOT NULL DEFAULT '0',
  `THALista1` char(100) COLLATE utf8_spanish_ci NOT NULL DEFAULT '',
  `THALista2` char(100) COLLATE utf8_spanish_ci NOT NULL DEFAULT '',
  `THACant37` int(11) NOT NULL DEFAULT '0',
  `THACant38` int(11) NOT NULL DEFAULT '0',
  `THACant39` int(11) NOT NULL DEFAULT '0',
  `THACheckbox24` bit(1) NOT NULL DEFAULT b'0',
  `THATimeStamp1` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`THACodigo`),
  KEY `THALink1_HOT` (`THALink1_HOT`),
  CONSTRAINT `222THA-222HOT` FOREIGN KEY (`THALink1_HOT`) REFERENCES `222HOT` (`HOTCodigo`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;