Closed aleccaputo closed 7 years ago
Primary key is time, and even though time is is down to like milliseconds, there is a chance that someone swipes at the exact same time of day as someone else. Therefore they wouldn't get logged because the key would be a duplicate.....
But what are the chances of that...
Combine Date and Time keys...
Why not make date and time a composite key in the database?
resolved by making date and time both the primary keys....
Primary key is time, and even though time is is down to like milliseconds, there is a chance that someone swipes at the exact same time of day as someone else. Therefore they wouldn't get logged because the key would be a duplicate.....
But what are the chances of that...