Skip to content
Albert Wang edited this page Jul 4, 2015 · 4 revisions

Data-storage handled by PostGRE and Redis

User {
id : 1,2,3
last_active: 2015/5/4/1337
name: awang
token:
votes: []
}

Comment {
id
user_id
parent_commit_id
url
body
score
}

Vote {
id?
user_id
comment_id
score?
}

Clone this wiki locally