removed schema.js
parent
2309ab2002
commit
7d1aa02fd1
@ -1,42 +0,0 @@
|
|||||||
(function(Schema) {
|
|
||||||
|
|
||||||
|
|
||||||
Schema.global = function() {
|
|
||||||
return {
|
|
||||||
|
|
||||||
/* strings */
|
|
||||||
next_topic_id: 'next_topic_id'
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Schema.topics = function(tid) {
|
|
||||||
return {
|
|
||||||
|
|
||||||
/* sets */
|
|
||||||
read_by_uid: 'tid:' + tid + ':read_by_uid',
|
|
||||||
|
|
||||||
/* sorted sets */
|
|
||||||
recent: 'topics:recent',
|
|
||||||
|
|
||||||
/* lists */
|
|
||||||
posts: 'tid:' + tid + ':posts',
|
|
||||||
queued_tids: 'topics:queued:tid',
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Schema.categories = function(cid) {
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
Schema.users = function(uid) {
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
Schema.posts = function(pid) {
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
}(module.exports));
|
|
Loading…
Reference in New Issue