I cannot, for the life of me, figure out what's wrong. I created the ERD and relationships in MySQL workbench and it spit this code out. I forward engineered it to my dbms and i get this error.
Executing SQL script in server
ERROR: Error 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 10
SQL Code:
-- -----------------------------------------------------
-- Table `deadiade_golfbag`.`users`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `deadiade_golfbag`.`users` (
`id` INT NOT NULL AUTO_INCREMENT,
`first_name` VARCHAR(150) NOT NULL,
`last_name` VARCHAR(250) NULL,
`professional` BINARY(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`, `professional`),
UNIQUE INDEX `id_UNIQUE` (`id` ASC) VISIBLE)
ENGINE = InnoDB
SQL script execution finished: statements: 5 succeeded, 1 failed
Fetching back view definitions in final form.
Nothing to fetch