New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error #14
Comments
【Failed to restore data from temp table 】USER_TEMP |
经测试,只要有数据库有数据,添加int类型数据,就会报错 |
实测String类型不会出现该错误。而且我添加的int类型的数据也没有添加@NotNull啊 |
这个问题困扰我一晚上了,很蛋疼,求解决 |
建议clone下代码运行下demo试试看,我这边刚才试了下没问题。 |
我只把MigrationHelper下载下来,放到里面去了。 |
最后已经解决了这个方案~在新增的列中把int类型的数据给加上0 |
默认情况下并不会为NOT NULL吧,找到原因就好。 |
经多次测试,在实体中添加int类型新数据的时候,就会报错,无法添加数据库
The text was updated successfully, but these errors were encountered: