alist icon indicating copy to clipboard operation
alist copied to clipboard

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

Open j2rong4cn opened this issue 1 year ago • 2 comments

此PR解决以下问题

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

j2rong4cn avatar May 31 '24 15:05 j2rong4cn

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

j2rong4cn avatar May 31 '24 15:05 j2rong4cn

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

j2rong4cn avatar Jun 17 '24 05:06 j2rong4cn

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[bot] avatar Jul 31 '24 15:07 stale[bot]

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

itsHenry35 avatar Aug 01 '24 16:08 itsHenry35