We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is not possible to import postgresql schema with defaults and type casting into drawDB.
Steps to reproduce
Choose a database -> PostgreSQL -> Go to File -> Import from SQL -> upload SQL schema -> Click import
Schema file:
CREATE SCHEMA public; CREATE TABLE public.tok1 ( description text NOT NULL ); CREATE TABLE public.tok2 ( description text default '' NOT NULL ); CREATE TABLE public.tnotok ( description text DEFAULT ''::text NOT NULL );
Error
SyntaxError [Ln 12, Col 32]: Expected ")", ",", "--", "/*", "AUTO_INCREMENT", "CHARACTER", "COLLATE", "COLUMN_FORMAT", "COMMENT", "DEFAULT", "KEY", "NOT NULL", "NULL", "ON", "PRIMARY", "REFERENCES", "STORAGE", "UNIQUE", [ \t\n\r], or [\n] but ":" found.
Expected behaviour
Import flow completes without errors.
The text was updated successfully, but these errors were encountered:
Hey! Thanks for reporting.
The parser fails on ':'. I just created an issue in the parser repository. Hopefully it will be supported soon.
Sorry, something went wrong.
No branches or pull requests
It is not possible to import postgresql schema with defaults and type casting into drawDB.
Steps to reproduce
Choose a database -> PostgreSQL -> Go to File -> Import from SQL -> upload SQL schema -> Click import
Schema file:
Error
Expected behaviour
Import flow completes without errors.
The text was updated successfully, but these errors were encountered: