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?
|
tags String?
|
||||||
message String
|
message String
|
||||||
data Json?
|
data Json?
|
||||||
|
|
||||||
|
@@index([timestamp(sort: Desc)])
|
||||||
}
|
}
|
||||||
|
|
||||||
model PAHost {
|
model PAHost {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user