Out of range value for column 'id' at row 1 · Issue #186 · APIJSON/APIJSON
Repository navigation
Out of range value for column 'id' at row 1 #186
New issue
New issue
Closed
Closed
Out of range value for column 'id' at row 1 #186 Labels
Document 文档
Question 使用问题
Description
@wengeqiua's profile wengeqiua opened on Dec 29, 2020环境信息
- 系统: Windows 10
- JDK: 1.8.0_41
- 数据库: MySQL 8.0.15
- APIJSON: APIJSON-Demo工程
问题描述
之前设计数据库没考虑id长度问题,现在导入apijson后,新增数据的时候报Out of range value for column 'id' at row 1,已知是id长度问题,因为换成bigint类型后就没问题, 但是之前设计的数据库都是int类型,如果要一个一个改工作量非常大,想问这种问题怎么解决?能不能让id自增长(id改成bigint后生成的id好像是时间戳?)?因为之前一直做前端的(需求只是简单的弄一个增删改查的功能,所以没后台),不知道怎么下手,求大佬帮忙
错误信息
Metadata
Metadata
Assignees
No one assignedLabels
Document 文档
Question 使用问题