sql-parser icon indicating copy to clipboard operation
sql-parser copied to clipboard

Allow parsing ALTER TABLE statement with column check constraint

Open MoonE opened this issue 1 year ago • 0 comments

CHECK is in Parser::STATEMENT_PARSERS, but also allowed in the column definition.

This doesn't enforce an order for the check constraint. It seems to be only allowed at the end of the column definition, only the column order (FIRST / AFTER x) can follow.

MoonE avatar Apr 18 '24 22:04 MoonE