Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
oetzit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
commul
oetzit
Commits
5129a89e
Commit
5129a89e
authored
3 years ago
by
Paolo.Brasolin
Browse files
Options
Downloads
Patches
Plain Diff
feat: #be sketch improved schema
parent
50bea9a2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SCHEMA.md
+42
-0
42 additions, 0 deletions
SCHEMA.md
with
42 additions
and
0 deletions
SCHEMA.md
0 → 100644
+
42
−
0
View file @
5129a89e
```
mermaid
erDiagram
WORD {
uuid id PK
blob image
string ocr_transcription
float ocr_confidence
string usr_transcription
float usr_confidence
}
USER {
uuid id PK
}
GAME {
uuid id PK
uuid user_id FK
timestamp began_at
timestamp ended_at
}
CLUE {
uuid id PK
uuid word_id FK
uuid game_id FK
integer status "pending/success/failure"
timestamp began_at "stamp of appearance"
timestamp ended_at "stamp of success/failure"
}
SHOT {
uuid id PK
uuid game_id FK
uuid clue_id FK "if something matches"
timestamp began_at "stamp of first input"
timestamp ended_at "stamp of last input"
string typed "e.g. 'helol\b\blo\n'"
string final "e.g. 'hello'"
}
USER ||--o{ GAME : ""
GAME ||--o{ CLUE : ""
WORD ||--|| CLUE : ""
GAME ||--o{ SHOT : ""
CLUE |o--o| SHOT : ""
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment