Skip to content
loading...

How to store the online lessons learned by users?

alex002i profile image Alex twitter logo ・1 min read  

Hi guys, I am currently working at a project, an online website where people can learn programming by advancing through lessons, so I need to know what lessons they have completed. Should I create a table named "completed lessons" with the columns: lesson_id and completed_by_user_id ? I don't know if this is a good idea, but don't have others.

twitter logo DISCUSS (2)
Discussion
markdown guide
 

Hi Alex.
Yes, It's OK.
But change the second column name to "user_id".

 
Classic DEV Post from Jul 26 '19

🎩 JavaScript Enhanced Scss mixins! 🎩 concepts explained

In the next post we are going to explore CSS @apply to supercharge what we talk about here....

Alex profile image
Struggling with programming...