From 6e9aef221a40e0aef3c242643cda0ab62dd2aa2a Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Sun, 5 Mar 2023 14:13:07 +0200 Subject: [PATCH] update decimal type parsing --- src/magicdraw_parser/sql_types_parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/magicdraw_parser/sql_types_parser.rs b/src/magicdraw_parser/sql_types_parser.rs index a1011c1..262d029 100644 --- a/src/magicdraw_parser/sql_types_parser.rs +++ b/src/magicdraw_parser/sql_types_parser.rs @@ -110,7 +110,7 @@ fn is_umodel_snapshot_file(filename: &str) -> bool { fn parse_type_name(str: &str) -> Result { use SQLTypeName::*; Ok(match str { - "decimal" => Decimal, + "decimal" | "dec" => Decimal, "char" => Char, "varchar" => Varchar, "float" => Float,