Index Log timestamps
This commit is contained in:
parent
549324851a
commit
bb14d4d6ba
|
@ -0,0 +1,2 @@
|
|||
-- CreateIndex
|
||||
CREATE INDEX "Log_timestamp_idx" ON "Log"("timestamp" DESC);
|
|
@ -111,6 +111,8 @@ model Log {
|
|||
tags String?
|
||||
message String
|
||||
data Json?
|
||||
|
||||
@@index([timestamp(sort: Desc)])
|
||||
}
|
||||
|
||||
model PAHost {
|
||||
|
|
Loading…
Reference in New Issue
Block a user