Skip to content
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

3.4.7升级到3.6.4数据库升级问题 #407

Open
cyw026 opened this issue Jun 3, 2019 · 1 comment

Comments

Projects
None yet
3 participants
@cyw026
Copy link

commented Jun 3, 2019

Aria版本

3.6.4

什么问题

3.4.7版本更新到3.6.4版本数据库迁移

如何复现此问题

3.4.7版本添加下载再更新到3.6.x处理数据库升级时可复现

控制台日志

WX20190603-162539

@AriaLyy AriaLyy added the bug label Jun 3, 2019

@OneGreenHand

This comment has been minimized.

Copy link

commented Jun 3, 2019

捕获到一个异常
#2402 android.database.sqlite.SQLiteConstraintException
UNIQUE constraint failed: TaskRecord.filePath (code 1555)
com.arialyy.aria.orm.DelegateUpdate.updateData(DelegateUpdate.java:62)

AriaLyy added a commit that referenced this issue Jun 11, 2019

fix bug #407
移除`DownloadGroupEntity`字段`groupHash`的主键约束,`DownloadEntity`字段`groupHash`的外键约束,`TaskRecord`字段`dGroupHash`的外键约束
优化关联查询的性能
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.