diff --git a/core/schema.rs b/core/schema.rs index 5e5ca910b..5d33dd1cd 100644 --- a/core/schema.rs +++ b/core/schema.rs @@ -325,11 +325,8 @@ fn create_table( .map(|column| { let col_name = match column.expr { Expr::Id(id) => normalize_ident(&id.0), - Expr::Literal(Literal::String(value)) => { - value.trim_matches('\'').to_owned() - } _ => { - todo!("Unsupported primary key expression"); + todo!("Unsupported unique expression"); } }; (col_name, column.order.unwrap_or(SortOrder::Asc))