Skip to content
James Wang edited this page Aug 22, 2014 · 4 revisions

Models

modelName + sep + modelId
content: 'board' + sep + boardId
content: 'thread' + sep + threadId
content: 'post' + sep + postId

Threads for Boards

indexes: 'threads' + sep + boardId + sep + threadId

Posts for Threads

indexes: 'posts' + sep + threadId + sep + postId


Thread Metadata

metadata: 'thread' + sep + threadId + sep + {field}

Fields

  • post_count
  • views
  • started_by
  • last_post_id

Board Metadata

metadata: 'board' + sep + boardId + sep + {field}

Fields

  • post_count
  • last_post_id
  • thread_count

Versioned Posts

content: 'post_version' + sep + postId + sep + timestamp


Legacy

Board Id Mapping: DB-TYPE + 'board' + sep + oldId

Thread Id Mapping:
DB-TYPE + 'thread' + sep + oldId

Post Id Mapping:
DB-TYPE + 'post' + sep + oldId