notion

Tables (3)

page (CopyOfUntitled)

  • page_id (Key) — bigint — Primary key — NOT NULL
  • tilte (Field) — varchar(300)
  • content (Field2) — text

page (페이지 테이블)

  • page_id (Key) — bigint — Primary key — NOT NULL — 페이지 식별자
  • title (Field) — varchar(30) — 페이지 타이틀
  • content (Field2) — text — 페이지 내용
  • parent_id (Field3) — bigint — 부모 페이지 식별자( null 가능)

page_parent (Untitled)

  • page_parent_id (Key) — bigint — Primary key — NOT NULL
  • page_id (Key3) — bigint — Foreign key → page.page_id — NOT NULL
  • parent_id (Field3) — bigint
  • position (Field) — int unsigned