pub fn parse_one_column(col: &ColumnDef) -> Result<ParsedColumn>Expand description
Parses a single sqlparser ColumnDef into our internal ParsedColumn
representation. Extracted from CreateQuery::new so ALTER TABLE ADD COLUMN can reuse the same column-shape parsing without re-implementing
the type / constraint / default plumbing.
Caller-side responsibilities not handled here:
- duplicate column name detection (a multi-column invariant)
- “more than one PRIMARY KEY” detection (a multi-column invariant)