Skip to content

Support ALTER TABLE ... ADD COLUMN with an inline check constraint#2902

Merged
fulghum merged 2 commits intomainfrom
fulghum/add_column_with_constraint
Mar 20, 2025
Merged

Support ALTER TABLE ... ADD COLUMN with an inline check constraint#2902
fulghum merged 2 commits intomainfrom
fulghum/add_column_with_constraint

Conversation

@fulghum
Copy link
Copy Markdown
Contributor

@fulghum fulghum commented Mar 20, 2025

Adds support for adding a column to a table with an inline constraint declared. Previously, the inline constraint was parsing, but ignored.

Depends on: dolthub/vitess#405

Originally discovered as part of testing DoltHub's Postgres schema with Doltgres.

@fulghum fulghum force-pushed the fulghum/add_column_with_constraint branch from b302114 to 1cab683 Compare March 20, 2025 22:43
@fulghum fulghum requested a review from zachmu March 20, 2025 23:06
Copy link
Copy Markdown
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fulghum fulghum merged commit 9b2c332 into main Mar 20, 2025
8 checks passed
@Hydrocharged Hydrocharged deleted the fulghum/add_column_with_constraint branch December 17, 2025 07:31
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.

2 participants