Skip to content

Commit

Permalink
fix 修复 代码生成器 postgres 数据库主键类型映射错误问题
Browse files Browse the repository at this point in the history
  • Loading branch information
JavaLionLi committed Sep 24, 2024
1 parent 048e1e3 commit 48b172e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public interface GenConstants {
/**
* 数据库数字类型
*/
String[] COLUMNTYPE_NUMBER = {"tinyint", "smallint", "mediumint", "int", "number", "integer",
String[] COLUMNTYPE_NUMBER = {"tinyint", "smallint", "mediumint", "int", "int2", "int4", "int8", "number", "integer",
"bit", "bigint", "float", "double", "decimal", "numeric", "real", "double precision",
"smallserial", "serial", "bigserial", "money", "smallmoney"};

Expand Down

0 comments on commit 48b172e

Please sign in to comment.