0
Fixed

SQL export with tables+pk error

taartaar 1 year ago updated by Support 1 year ago 3

When only create schema, create table and create primary key are selected and a table has a foreign key, the exported SQL contains a syntax error. There is a comma after the  primary key definition looking like this:

CREATE TABLE `Users`
(
`ID` INT NOT NULL AUTO_INCREMENT ,

PRIMARY KEY (`ID`), <-- this comma is a syntax error
-- SKIP: `fkIdx_202`
);
GOOD, I'M SATISFIED
Satisfaction mark by taartaar 1 year ago