test
Tables (3)
Classes (Untitled)
- id — UUID — Primary key — NOT NULL
- owner_user_id (user_id) — UUID — Foreign key → User.id — NOT NULL
- title — String
- content — TEXT
- capacity — Integer
- enrolled — Integer
- starts_at — timestamp
- ends_at — timestamp
- created_at — timestamp
- status — ENUM
- updated_at — timestamp
Reservation (Untitled2)
- id — UUID — Primary key — NOT NULL
- user_id — UUID — Foreign key → User.id — NOT NULL
- classes_id — UUID — Foreign key → Classes.id — NOT NULL
- status — ENUM
- wait_seq — Integer
- checkin — boolean
- created_at — timestamp
- updated_at — timestamp
User
- id — UUID — Primary key — NOT NULL
- user_name — String
- password — String
- active — Boolean
- created_at — timestamp
- updated_at — timestamp