Also, school.school -> school.name, school.poster -> school.creator, and removed school.uploads.
Changes top-five leaderboard calculation to use the new relations between models, rather than a custom uploads JSONField (should help with #65).
🚨 This is my first project where I've tried writing data migrations in Django, so someone definitely needs to make sure the migrations run smoothly on their machine before merging 🚨
'cuz I screwed them up multiple times and had to wipe my database, oh, eight or so times~
UserProfile
Also,
school.school
->school.name
,school.poster
->school.creator
, and removedschool.uploads
.Changes top-five leaderboard calculation to use the new relations between models, rather than a custom
uploads
JSONField (should help with #65).🚨 This is my first project where I've tried writing data migrations in Django, so someone definitely needs to make sure the migrations run smoothly on their machine before merging 🚨 'cuz I screwed them up multiple times and had to wipe my database, oh, eight or so times~