Closed Nerwerder closed 8 months ago
fixed in version 1.0.4 https://github.com/xnuinside/simple-ddl-parser/pull/244
@Nerwerder, thanks for opening the issue!
version 1.0.4 was released, issue was fixed, if needed anything else - feel free to open a new issue
Describe the bug
Calling 'parse_from_file' on a file containing (postgres) sql 'create table' instructions will not return tables containing a column using 'REFERENCES' and 'NOT NULL'.
To Reproduce
Good case:
=> Will return two tables.
Bad case:
=> Will only return a single table (a).
Expected behavior
All tables should be returned.
Environment: