pub fn transform_column_keys(
relation: &str,
keys: &[TableKeyConstraint],
) -> Result<Vec<TableKeyConstraint>, SQLError>Expand description
The keys that ALTER TABLE ADD COLUMN declares on the new column, transformed as transformIndexConstraints transforms the statement: a second primary key fails with the relation’s name as written, and a key repeating an earlier key’s index is dropped.