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