From f6c64a50abe37daf3e921fa9cdf23aac7aebee0e Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Tue, 6 Feb 2024 12:47:00 +0100 Subject: [PATCH] Add uuid --- setup.cfg | 2 +- src/procrusql/parser.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 9cb86fa..19d9bcb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = ProcruSQL -version = 0.0.13 +version = 0.0.14 author = Peter J. Holzer author_email = hjp@hjp.at description = Make a database fit its description diff --git a/src/procrusql/parser.py b/src/procrusql/parser.py index e964a2f..7e2c50e 100755 --- a/src/procrusql/parser.py +++ b/src/procrusql/parser.py @@ -295,6 +295,7 @@ def parse_column_definition(ps): "inet", "double precision", "float8", "real", "float4", "json", "jsonb", + "uuid", r"integer\[\]", r"int\[\]", r"bigint\[\]", ), key=lambda x: -len(x) # longest match first