BucketPlace

테이블 (4)

categories (Untitled2)

    comments :사진 댓글 (Untitled)

    • Key — 기본 키 — NOT NULL
    • id (Key2) — Integer — 외래 키 → posts :사진 포스팅.id — NOT NULL — PK
    • user_id (Key22) — Integer — 외래 키 → posts :사진 포스팅.user_id — NOT NULL — FK

    posts :사진 포스팅 (CopyOf회원)

    • id (Key2) — Integer — 기본 키 — NOT NULL — PK
    • user_id (Key22) — Integer — 외래 키 → users :회원.id — NOT NULL — FK
    • category (Field) — String — NOT NULL — 사진 카테고리
    • contents (Field2) — String — 사진 설명
    • Field3
    • Field4
    • Field5

    users :회원 (회원)

    • id (Key2) — Integer — 기본 키 — NOT NULL — PK
    • email (Field) — String — NOT NULL — 이메일
    • password (Field2) — String — NOT NULL — 패스워드
    • nickname (Field3) — String — NOT NULL — 닉네임
    • gender (Field4) — String — NOT NULL — 성별
    • birth (Field5) — Datetime — NOT NULL — 생년월
    • is_expert (Field6) — Bullean — NOT NULL — 1이면 전문가 (default : 0)