From 4be7f12119c084e45853997446d693111b8fd600 Mon Sep 17 00:00:00 2001 From: k00b Date: Sat, 15 Mar 2025 15:29:01 -0500 Subject: [PATCH] add another hot_score index without nulls clause --- .../20250315202641_hot_score_view_idx_fix/migration.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 prisma/migrations/20250315202641_hot_score_view_idx_fix/migration.sql diff --git a/prisma/migrations/20250315202641_hot_score_view_idx_fix/migration.sql b/prisma/migrations/20250315202641_hot_score_view_idx_fix/migration.sql new file mode 100644 index 00000000..6464e65c --- /dev/null +++ b/prisma/migrations/20250315202641_hot_score_view_idx_fix/migration.sql @@ -0,0 +1,2 @@ +CREATE INDEX IF NOT EXISTS hot_score_view_hot_score_no_nulls_idx ON hot_score_view(hot_score DESC); +CREATE INDEX IF NOT EXISTS hot_score_view_sub_hot_score_no_nulls_idx ON hot_score_view(sub_hot_score DESC); \ No newline at end of file