DEV Community

Discussion on: What are the best practices for sending emails to your app users?

Collapse
 
senornigeria profile image
Adekoyejo Akinhanmi

Whoa! That was fast. Thank you. I hope you don't mind that I ask again. Is it better to store user verification code in the user table to in a different table?

Collapse
 
joshuaai profile image
Josh Ihejiamaizu

Not sure what the verification code here refers to.

However, I always try to keep the main user table as lean as possible. The verification code can be in a join table, and then a sort of isVerified property on the user table.