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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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时,还会影响启动时加载存储的顺序

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.

None yet

1 participant