Open lpstein opened 9 years ago
Can we make sure we can grab a profile photo?
On Friday, September 25, 2015, lpstein notifications@github.com wrote:
Models User
- Based on PFUser https://www.parse.com/docs/ios/guide#users
- Additional Fields?
League
- name -> String
Relations
N.B.
— Reply to this email directly or view it on GitHub https://github.com/Sneezeboard/leaderboard/issues/4.
Eli eli.gd
Models
Keeping in mind that all Parse objects come with a few fields by default:
objectId
->String
createdAt
->NSDate
updatedAt
->NSDate
User
avatar
->PFFile
elo
-> IntLeague
name
->String
creator
->User
sport
->Sport
location
->PFGeoPoint
image
->PFFile
Sport
name
->String
Match
league
->League
player1
->User
player2
->User
score1
->Int
score2
->Int
M2M Relations
Follow
User
<->User
Member
User
<->League
(https://www.parse.com/docs/ios/guide#security-implementing-business-logic-in-cloud-code).