Blog
Tables (5)
blogcata (카테고리 생성)
- id (아이디) — FK — Foreign key → bloguser.id
- cataname (카테고리 이름) — NOT NULL
bloguser
- id (아이디) — PK — Primary key
- name (이름) — NOT NULL
- pass (비밀번호) — NOT NULL
catapost (게시글)
- no (번호) — PK — Primary key — NOT NULL
- id (아이디) — FK — Foreign key → blogcata.id
- cataname (카테고리 이름)
- content (내용) — NOT NULL
- date (날짜) — NOT NULL
- filename (파일이름)
- title (제목) — NOT NULL
friend (이웃신청)
- id (아이디)
- friendid (친구 아이디)
myblog
- id (아이디) — FK — Foreign key → bloguser.id
- blogname (블로그 이름) — NOT NULL
- profileimg (프로필 파일이름)
- profilemsg (프로필 메시지)
- headerimg (블로그 헤더 이미지)