You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UNIQUE KEY statements currently cause the entire table to be ignored. IE UNIQUE KEY "fun_unique_key" ("fun_unique_column"), In this case I think we'd like a single column to parse into a column UNIQUE statement, and multiple columns to parse into the constraints.uniques location.
The text was updated successfully, but these errors were encountered:
cfhowes
added a commit
to cfhowes/simple-ddl-parser
that referenced
this issue
Jan 25, 2024
There appears to be a couple of problems with UNIQUE parsing.
simple-ddl-parser/tests/test_simple_ddl_parser.py
Line 365 in f605740
constraints.uniques
with both columns listed in the columns. See https://www.mysqltutorial.org/mysql-basics/mysql-unique-constraint/#:~:text=To%20define%20a%20UNIQUE%C2%A0%20constraint%20for%20two%20or%20more%20columns%2C%20you%20use%20the%20following%20syntax%3AUNIQUE KEY
statements currently cause the entire table to be ignored. IEUNIQUE KEY "fun_unique_key" ("fun_unique_column"),
In this case I think we'd like a single column to parse into a column UNIQUE statement, and multiple columns to parse into theconstraints.uniques
location.The text was updated successfully, but these errors were encountered: