support sort by n_attention

This commit is contained in:
2023-05-05 22:06:19 +08:00
parent bbed041253
commit 01f56ea0a6
5 changed files with 16 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP INDEX posts_attention_idx

View File

@@ -0,0 +1,2 @@
-- Your SQL goes here
CREATE INDEX posts_attention_idx ON posts (n_attentions)