I only recently thought it was a good idea to add createdAt as a default field in our User collection in mongoDB. Unfortunately, for all users that have signed up previously, this createdAt field is missing.
I feel like I am probably out of luck, but I wonder if perhaps the createdAt
is either somehow encoded in the _id
, or is available as metadata somewhere, anywhere. Is this possible?
As an aside, I have all of the email verification emails sent from our gmail account that are sent when a user signs up / gets added to this collection. It's a stretch, but maybe there's an automated way to extract all of those email send times, and use the email
field to join those email send times onto our User collection.