qqqqq
Tables (3)
Post
- id — int — Primary key — NOT NULL — 기본키
- author — int — Foreign key → User.id — NOT NULL — FK
- day — int — 일요일 = 0~토요일 = 6
- className — text — 일정제목
- classroom — text — 강의실
- start — text — 시작시간
- end — text — 끝시간
Schedule
- id — int — Primary key — NOT NULL — 기본키
- Owner — int — Foreign key → User.id — NOT NULL — FK
- day — int — 일요일 = 0~토요일 = 6
- className — text — 일정제목
- classroom — text — 강의실
- start — text — 시작시간
- end — text — 끝시간
User
- id — int — Primary key — NOT NULL — 기본키 (구글아이디)
- name — text — 이름
- invCode — text — 초대코드