This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
Lateinicus/backend/db.md

30 lines
329 B
Markdown
Raw Normal View History

2018-09-29 12:23:09 +00:00
# User
`column`: users
`
{
username: string,
salt: string,
hash: string,
uid: number,
showWelcome: boolean,
classId: string,
2018-09-29 13:06:14 +00:00
score: number,
lastReview: {
correct: number,
wrong: number,
}
2018-09-29 12:23:09 +00:00
}
`
# Sessions
column: sessions
`
{
username: string,
session: string,
}
`