我的网站将完全面向Facebook,并且将包含仅从FB中删除的数据。我目前正在使用以下数据库设计,但我不确定需要记录哪些字段以及哪些字段不是。请帮助我。
当前设计:
Tablename = Users:-
id = FB id
fname = FB first name
lname = FB last name
email = email account
DOB = Date of birth
Country = Country
db.relationship = Tablename(Friends)
Tablename = Friends:-
id = auto increment id
fname = Friend's first name
lname = Friend's last name
email = Friend's email
DOB = Friend's DOB
Country = Friend's country
LastMessage = Custom entry filled by app
userid = db.relationship.FK(user.id)
所以我在这里遗漏了任何东西,或者这本身就好了......我读到了关于oauth令牌的东西......是否需要推倒?