Previously, an inline column check constraint could only appear as the very last option for a column definition. This change allows it to appear in other positions in the column definition. For example, this query now works:
create table t123 (c1 varchar(5) check (c1 in ('v1', 'v2')) NOT NULL);
Previously, an inline column check constraint could only appear as the very last option for a column definition. This change allows it to appear in other positions in the column definition. For example, this query now works:
Resolves: https://github.com/dolthub/dolt/issues/7195