Error to create a table with workbench
Hi everyone, did anyone can help I am migrating my workbench to mysql but I can´t create this table
CREATE TABLE IF NOT EXISTS `global`.`tblCandidato` (
`idCandidato` INT NOT NULL AUTO_INCREMENT ,
`intFechaAlta` INT NOT NULL DEFAULT today COMMENT 'Poner la fecha de su alta a GlobalMx' ,
`intVigenteHasta` INT NOT NULL ,
`txtPaterno` VARCHAR(25) NOT NULL COMMENT 'No puede estar vacío' ,
`txtMaterno` VARCHAR(25) NULL COMMENT 'Puede ser vacío' ,
`txtNombre` VARCHAR(25) NOT NULL ,
`intSexo` TINYINT NOT NULL DEFAULT 0 COMMENT '0 para hombre 1 para mujer' ,
`intEstadoCivil` TINYINT NOT NULL ,
`intNacio` INT NOT NULL ,
`txtCorreo` VARCHAR(75) NOT NULL ,
`txtPass` VARCHAR(15) NOT NULL ,
`txtAlias` VARCHAR(45) NULL COMMENT 'Seudónimo para los que no quieren que se vea su nombre' ,
`txtDomicilio` VARCHAR(140) NULL ,
`intCodigo` SMALLINT NULL ,
`txtTelefonoContacto` VARCHAR(15) NULL ,
`txtTelefonoCelular` VARCHAR(15) NULL ,
`intHorarioContacto` TINYINT NOT NULL DEFAULT 0 COMMENT '0 es diurno 1 es nocturno' ,
`intAceptaCorrespondencia` TINYINT NOT NULL DEFAULT 1 COMMENT '0 para los que no quieren recibir y mostrar su domicilio personal, solo el Código Postal y el 1 para los que aceptan' ,
`intPromoverme` TINYINT NOT NULL DEFAULT 0 COMMENT '0 para mostrar el CV, 1 no lo promueve' ,
`tblPaises_idtblPaises` INT NOT NULL ,
`txtCualidad` VARCHAR(45) NULL ,
`txtDefecto` VARCHAR(45) NULL ,
`txtPasatiempo` VARCHAR(45) NULL ,
`intCV` TINYINT NOT NULL ,
`intCartas` TINYINT NOT NULL ,
`intEstudios` TINYINT NOT NULL ,
`intExperiencia` TINYINT NOT NULL ,
`intHabilidades` TINYINT NOT NULL ,
`intIdiomas` TINYINT NOT NULL ,
`intTrayectoria` TINYINT NOT NULL ,
`intFechaActualiza` INT NOT NULL ,
PRIMARY KEY (`idCandidato`) ,
INDEX `fk_tblCandidato_tblPaises1` (`tblPaises_idtblPaises` ASC) ,
CONSTRAINT `fk_tblCandidato_tblPaises1`
FOREIGN KEY (`tblPaises_idtblPaises` )
REFERENCES `global`.`tblPaises` (`idtblPaises` )
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
COMMENT = 'Contiene la información básica de un candidato'
and when I put it into my mysql I get this error.
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'today COMMENT 'Poner la fecha de su alta a GlobalMx' , `intVigenteHasta` INT ' at line 3
Best regards