졸프
테이블 (8)
구독 (subscription)
- Key (subId) — int — 기본 키 — NOT NULL
- Field (subInfo) — date — NOT NULL — 구독기간
- Key (memberId) — int — 외래 키 → 사용자.Key — NOT NULL
- Key (siteId) — int — 외래 키 → 사이트.Key — NOT NULL
댓글 (comment)
- Key (commentId) — int — 기본 키 — NOT NULL
- Key (postId) — int — 외래 키 → 작성한 글.Key — NOT NULL
- Key (memberId) — int — 외래 키 → 사용자.Key — NOT NULL
- Field (commentContent) — text — NOT NULL
- Field (commentTime) — datetime — NOT NULL
사용자 (member)
- Key (memberId) — int — 기본 키 — NOT NULL
- Field (userId) — varchar(50) — NOT NULL
- Field (userPassword) — varchar(50) — NOT NULL — password()
- Field2 (nickname) — varchar(50)
사이트 (site)
- Key (siteId) — int — 기본 키 — NOT NULL
- Field (siteName) — varchar(50) — NOT NULL
- Field2 (url) — varchar(2048) — NOT NULL
- Field (lastCrawled) — datetime — now()
- Field (crawlingRules) — boolean — NOT NULL
- Field (siteEmageUrl) — varchar(2048)
알림 (notification)
- Key (noteId) — int — 기본 키 — NOT NULL
- Key (subId) — int — 외래 키 → 구독.Key — NOT NULL
- Key (memberId) — int — 외래 키 → 사용자.Key — NOT NULL
- Key (eventId) — int — 외래 키 → 이벤트.Key — NOT NULL
- Field (check) — boolean — NOT NULL — 확인 여부
이벤트 (event)
- Key (eventId) — int — 기본 키 — NOT NULL
- Field (evnetTitle) — varchar(50) — NOT NULL
- Field (description) — text
- Field (startTime) — datetime
- Field (endTime) — datetime
- Field (eventUrl) — varchar(2048) — NOT NULL
- Key (siteId) — int — 외래 키 → 사이트.Key — NOT NULL
작성한 글 (post)
- Key (postId) — int — 기본 키 — NOT NULL
- Key (memberId) — int — 외래 키 → 사용자.Key — NOT NULL
- Field (title) — varchar(255) — NOT NULL
- Field (content) — text — NOT NULL
- Field (postTime) — datetime — NOT NULL
팔로워(팔로우하고있는사람) (follower)
- Key (followerId) — 기본 키 — NOT NULL
- Key (memberId) — int — 외래 키 → 사용자.Key — NOT NULL
- Field (followerNickname) — varchar(50) — NOT NULL
- Field (subList) — JSON — 구독목록