fix:上传文件测试时pg数据库字段类型不一致报错

错误详情:Caused by: org.postgresql.util.PSQLException: ERROR: column "id" is of type bigint but expression is of type character varying
This commit is contained in:
orchidblessing 2024-05-19 18:05:38 +08:00 committed by GitHub
parent 64aab9ea1b
commit 9cc6528eba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,8 +28,8 @@ public class FileContentDO extends BaseDO {
/** /**
* 编号数据库自增 * 编号数据库自增
*/ */
@TableId(type = IdType.INPUT) @TableId
private String id; private Long id;
/** /**
* 配置编号 * 配置编号
* *