Skip to content

Commit 3ed0942

Browse files
committed
doc: update database diagram
Signed-off-by: Richard Zak <[email protected]>
1 parent b5f3f7a commit 3ed0942

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

crates/server/src/db/readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,15 @@ erDiagram
123123
int lid PK
124124
timestamp added
125125
}
126+
PAGINATION {
127+
uuid id PK
128+
int userid FK
129+
int next_fileid FK
130+
string query
131+
string query_type "Enum options: search, similaritysearch"
132+
int total_results
133+
timestamp created
134+
}
135+
PAGINATION ||--}| PERSON : has
136+
PAGINATION ||--|| FILE : has
126137
```

0 commit comments

Comments
 (0)