I'm trying to add a table 'users' in a database 'restoratedb'. So, using the following code gives me an error message
CREATE TABLE IF NOT EXISTS `restoratedb`.`users` (
`user_id` INT NOT NULL AUTO_INCREMENT,
...
PRIMARY KEY (`user_id`),
UNIQUE INDEX `id_UNIQUE` (`user_id` ASC) VISIBLE)
ENGINE = InnoDB;
I'm getting the bellow error message
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')
ENGINE = InnoDB' at line 14