mirror of
https://github.com/SrIzan10/hctv.git
synced 2026-06-06 00:56:56 +00:00
fix: badly performing code
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- CreateIndex
|
||||
CREATE INDEX "StreamInfo_username_idx" ON "StreamInfo"("username");
|
||||
@@ -81,7 +81,7 @@ model StreamInfo {
|
||||
|
||||
enableNotifications Boolean @default(true)
|
||||
|
||||
// TODO: index on username
|
||||
@@index([username])
|
||||
}
|
||||
|
||||
model Follow {
|
||||
|
||||
Reference in New Issue
Block a user