Shaflix
Tables (3)
History (Untitled3)
- id (Key) — string — Primary key — NOT NULL
- userId (Field) — objectId
- movieId (Field2) — ObjectId[]
- watchedAt (Field3) — Date
Movie (Untitled2)
- id (Key) — string — Primary key — NOT NULL
- title (Field) — string
- des (Field2) — string
- genre (Field3) — string[]
- release (Field4) — Date
- director (Field5) — string
- actor (Field6) — string[]
User (Untitled)
- id (Key) — string — Primary key — NOT NULL
- email (Field) — string
- password (Field2) — string
- name (Field3) — string
- likedMovie (Field4) — objectId[]
- role (Field5) — 'admin'|'user'