Skip to content

Commit

Permalink
πŸ“ Updated ERD diagram: added users and users_sessions tables
Browse files Browse the repository at this point in the history
  • Loading branch information
lhbelfanti committed Jan 10, 2025
1 parent dc56f33 commit 93f6ce0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ erDiagram
}
users {
INTEGER id PK
TEXT name
TEXT username
TEXT password_hash
DATE created_at
}
categorized_tweets ||--|{ tweets : ""
categorized_tweets ||--|{ users : ""
Expand All @@ -113,6 +115,14 @@ erDiagram
INTEGER user_id FK
BOOLEAN adverse_behavior
}
users_sessions ||--|{ users : ""
users_sessions {
INTEGER id PK
INTEGER user_id FK
TEXT token
DATE expires_at
DATE created_at
}
```

#### Necessary files to start the database
Expand Down

0 comments on commit 93f6ce0

Please sign in to comment.