DEV Community

Alex
Alex

Posted on

How to store the online lessons learned by users?

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.

Top comments (2)

Collapse
 
muhammadmp profile image
Muhammad MP

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

Collapse
 
alex002i profile image
Alex

Oh, ok, thanks!

Some comments may only be visible to logged-in visitors. Sign in to view all comments.