This commit is contained in:
Peter J. Holzer 2024-02-06 12:47:00 +01:00
parent ccf10d5690
commit f6c64a50ab
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = ProcruSQL name = ProcruSQL
version = 0.0.13 version = 0.0.14
author = Peter J. Holzer author = Peter J. Holzer
author_email = hjp@hjp.at author_email = hjp@hjp.at
description = Make a database fit its description description = Make a database fit its description

View File

@ -295,6 +295,7 @@ def parse_column_definition(ps):
"inet", "inet",
"double precision", "float8", "real", "float4", "double precision", "float8", "real", "float4",
"json", "jsonb", "json", "jsonb",
"uuid",
r"integer\[\]", r"int\[\]", r"bigint\[\]", r"integer\[\]", r"int\[\]", r"bigint\[\]",
), ),
key=lambda x: -len(x) # longest match first key=lambda x: -len(x) # longest match first