msa
Tables (3)
Order (Untitled2)
- Id (id) — String — Primary key — NOT NULL
- id (id2) — String — Foreign key → User.id — NOT NULL
- Id (id3) — String — Foreign key → Product.Id — NOT NULL
- userId — String
- productId — String
- unitPrice — int
- qty — int
- totalPrice — int
Product (Untitled)
- Id (id) — String — Primary key — NOT NULL
- price — int
- name — String
- stock — int
User
- id — String — Primary key — NOT NULL
- name — String
- password — String
- email — String
- createdAt — int