add boost index

This commit is contained in:
k00b 2024-09-24 13:10:10 -05:00
parent 76218dccac
commit d7667f7820
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX "Item_boost_idx" ON "Item"("boost");

View File

@ -532,6 +532,7 @@ model Item {
@@index([invoiceActionState])
@@index([cost])
@@index([url])
@@index([boost])
}
// we use this to denormalize a user's aggregated interactions (zaps) with an item