-
Notifications
You must be signed in to change notification settings - Fork 0
Indexes and Keys
James Wang edited this page Aug 22, 2014
·
4 revisions
modelName + sep + modelId
content: 'board' + sep + boardId
content: 'thread' + sep + threadId
content: 'post' + sep + postId
indexes: 'threads' + sep + boardId + sep + threadId
indexes: 'posts' + sep + threadId + sep + postId
metadata: 'thread' + sep + threadId + sep + {field}
- post_count
- views
- started_by
- last_post_id
metadata: 'board' + sep + boardId + sep + {field}
- post_count
- last_post_id
- thread_count
content: 'post_version' + sep + postId + sep + timestamp
Board Id Mapping: DB-TYPE + 'board' + sep + oldId
Thread Id Mapping:
DB-TYPE + 'thread' + sep + oldId
Post Id Mapping:
DB-TYPE + 'post' + sep + oldId