diff --git a/src/main/kotlin/fr/postgresjson/functionGenerator/FunctionGenerator.kt b/src/main/kotlin/fr/postgresjson/functionGenerator/FunctionGenerator.kt index c408f21..b443ddd 100644 --- a/src/main/kotlin/fr/postgresjson/functionGenerator/FunctionGenerator.kt +++ b/src/main/kotlin/fr/postgresjson/functionGenerator/FunctionGenerator.kt @@ -50,7 +50,14 @@ class FunctionGenerator(private val functionsDirectories: List) { "character" -> "String" "char" -> "String" "int" -> "Int" + "smallint" -> "Int" + "integer" -> "Int" + "bigint" -> "Int" + "decimal" -> "Float" + "real" -> "Float" + "double precision" -> "Float" "float" -> "Float" + "numeric" -> "Number" "boolean" -> "Boolean" "json" -> "S" "jsonb" -> "S"