Skip to content

[BUG] error importing postgresql sql script #291

@carlosmascarenhas

Description

@carlosmascarenhas

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")
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions