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

修复:数据库不是sqlite3时会乱序的bug #6560

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

j2rong4cn
Copy link
Contributor

此PR解决以下问题

  • 数据库为mysql时,修改数据时会按照 表的第一列 排序,导致 alist-web 设置页乱序
  • 数据库为postgres时,修改数据时会追加到最后一行,导致 alist-web 存储 、用户、元信息页乱序

@j2rong4cn
Copy link
Contributor Author

@xhofe 我不是很懂数据库,有更好的处理方式吗

@j2rong4cn
Copy link
Contributor Author

@xhofe
考虑到以后可能会增加设置所以没用数据库的自增
还有数据库为postgres时,还会影响启动时加载存储的顺序

Copy link

stale bot commented Jul 31, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale No activity for more than 30 days label Jul 31, 2024
@itsHenry35 itsHenry35 requested a review from xhofe August 1, 2024 16:18
@stale stale bot removed the stale No activity for more than 30 days label Aug 1, 2024
@itsHenry35
Copy link
Member

@xhofe Check this out. You might have missed this PR.

@xhofe xhofe merged commit 87caaf2 into alist-org:main Aug 3, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants