xnuinside / simple-ddl-parser

Simple DDL Parser to parse SQL (HQL, TSQL, AWS Redshift, BigQuery, Snowflake and other dialects) ddl files to json/python dict with full information about columns: types, defaults, primary keys, etc. & table properties, types, domains, etc.
MIT License
175 stars 40 forks source link

Issue #196: Add the 'name' to the 'reference' block for FOREIGN KEY constraints #224

Closed cfhowes closed 6 months ago

cfhowes commented 6 months ago

As requested in #196, added name to the references block of constraints. This should allow users of the parsed output to be able to associate the FOREIGN KEY with the proper column in the table.

xnuinside commented 6 months ago

@cfhowes thanks for the PR again ! :)

xnuinside commented 6 months ago

@cfhowes changes released in version 0.32.0