Skip to content
New issue

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

Allow parsing ALTER TABLE statement with column check constraint #554

Conversation

MoonE
Copy link
Contributor

@MoonE MoonE commented Apr 18, 2024

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.

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
@MauricioFauth MauricioFauth merged commit f136374 into phpmyadmin:5.9.x May 23, 2024
12 of 17 checks passed
@MauricioFauth MauricioFauth self-assigned this May 23, 2024
@MoonE MoonE deleted the support-alter-table-with-column-check-constraint branch May 23, 2024 22:06
@williamdes williamdes added this to the 5.10.0 milestone Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants