feat: 添加文章发布时间的降序索引以优化查询性能
This commit is contained in:
1 parent
3890777e10
commit
34c225bdb0
1 file changed
+2
@@ -0,0 +1,2 @@
|
||||
-- Add index for descending published_at to optimize latest posts queries
|
||||
CREATE INDEX IF NOT EXISTS idx_posts_published_at_desc ON posts(published_at DESC);
|
||||
Reference in new issue
Block a user