십시1반
테이블 (6)
Area (지역)
- id (Key) — s — 기본 키 — NOT NULL
- Field
ChatRoom (Untitled2)
- id (Key) — 기본 키 — NOT NULL
- title (Field) — varchar
- orderLink (Field5) — varchar
- createdAt (Field2) — date
- dueDate (Field3) — date
- isPrivate (Field4) — boolean
- ChatStatusId (Key2) — 외래 키 → ChatStatus.id — NOT NULL
- max (Field6) — i
- marketName (Field7) — v
- Field8
ChatStatus (Untitled3)
- id (Key) — 기본 키 — NOT NULL
- status (Field) — varchar
ChatUser (Untitled5)
- id (Key) — 기본 키 — NOT NULL
- UserId (Key2) — serial4 — 외래 키 → User.id — NOT NULL
- ChatId (Key3) — 외래 키 → ChatRoom.id — NOT NULL
User (Untitled)
- id (Key) — serial4 — 기본 키 — NOT NULL
- email (Field) — varchar
- password (Field2) — varchar
- nickname (Field3)
- address (Field4)
- profileImage (Field5)
- createdAt (Field6) — date
- deletedAt (Field7)
UserArea (Untitled4)
- id (Key) — 기본 키 — NOT NULL
- AreaId (Key2) — s — 외래 키 → Area.id — NOT NULL
- UserId (Key3) — serial4 — 외래 키 → User.id — NOT NULL