drawdb
drawdb copied to clipboard
[BUG] Import failed with quoted constraint name
Describe the bug When SQL code contains quoted constraint name, it is failed to import
To Reproduce Steps to reproduce the behavior:
- Try to import the following code:
CREATE TABLE books ( id UUID NOT NULL, CONSTRAINT "PK_books" PRIMARY KEY (id) );
- See error (on attached screenshot)
- The following code does not produce error:
CREATE TABLE books ( id UUID NOT NULL, CONSTRAINT PK_books PRIMARY KEY (id) );
Expected behavior SQL script successfully imported
Screenshots