Skip to content

Data model

The tables of the Learn engine and what each one holds.

Applies to EngineCloud
View as Markdown
TableHolds
courseseach course: its organization (empty for public courses), title, levels, languages and current version
course_versionsevery published version, where its files are, who published it and when
lessonseach lesson of a version: level, step, needs, uses, exercise and checks, video
learnersa person: their id (from the Sypnia account, or the engine’s sign-in), level, language and settings
exerciseseach exercise: person, lesson and its version, project, repository, branch, state
check_runseach run: the commit, its state and the result of every check, with the message shown
progressper person and lesson: started or done, the version, when, and where the video stopped
sharesthe organizations a person shares their progress with
offerslessons offered: the trigger, the lesson, when it was shown and what the person chose
memory_noteswhich notes in the person’s memory Learn wrote, so deleting progress deletes them too
explain_usagehow many explanations a person asked for, per day; never their content

Course files and videos live in object storage, under the version that published them, so a learner always sees the version they started.

    Search pages, sections and terms