From e75e20c9e910ca3984f14123618a7f4ea78fddf9 Mon Sep 17 00:00:00 2001 From: pedrocarlo Date: Sat, 10 May 2025 18:15:42 -0300 Subject: [PATCH] fix incorrect matching in column name --- core/schema.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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))