singpath / classmentors

Class Mentors UI
http://www.classmentors.com
MIT License
0 stars 8 forks source link

Add Firebase server time stamps to all challenge submissions to know when users submitted. #155

Open SingaporeClouds opened 8 years ago

dinoboff commented 8 years ago

classMentors/eventSolutions/$eventId/$publicId is set to "true" (achievement challenge) or some other type holding the solution.

If we want to use that same record, it would need an object like {"value": true, submittedAt: 1234}. The data doesn't need to be migrated ahead of time.

However, I will probably breaks something since all those rules have been prefixed with true || .... I can loosen the validate rule but I don't know what was wrong with the write rules.