dewv / nlcAttendance

Attendance tracking for the Naylor Learning Center at Davis & Elkins College
MIT License
2 stars 2 forks source link

Generate Visit ID numbers in front end #108

Closed smattingly closed 3 years ago

smattingly commented 4 years ago

The current system uses MySQL autoincrement (sequential number) fields. These are not shown to the user except in the Visits index page. Note that the page lists the most recent record first, with the highest sequential number.

Experiments show that moving to MongoDB would be straightforward, except that Mongo generates unique _ids as cryptic object identifiers, not sequential numbers.

Reimplement existing behavior in a way that is expected to work with Mongo as well as MySQL: