drawdb
drawdb copied to clipboard
[BUG] error importing postgresql sql script
Describe the bug
When I try to import an SQL script generated by drawDB itself that has an auto-increment field, the following error is returned:
Apparently it has to do with the PR #255
To Reproduce try to import this sql script that was generated by drawDB itself:
CREATE TABLE "test" (
"id" INTEGER NOT NULL UNIQUE GENERATED BY DEFAULT AS IDENTITY,
PRIMARY KEY("id")
);
#255 deals with exports. The parser fails on 'generated'. I'll report it if I haven't already
@1ilit hey can i work on this if this issue is still open?
@Jal-GG yes but check if it's already fixed, the issue is in node-sql-parser not in drawdb