Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] error importing postgresql sql script #291

Open
carlosmascarenhas opened this issue Nov 4, 2024 · 1 comment
Open

[BUG] error importing postgresql sql script #291

carlosmascarenhas opened this issue Nov 4, 2024 · 1 comment

Comments

@carlosmascarenhas
Copy link

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:
image

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")
);
@1ilit
Copy link
Member

1ilit commented Nov 5, 2024

#255 deals with exports. The parser fails on 'generated'. I'll report it if I haven't already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants