public

Schema Public

Tables

audit

Some exercises require reviews from other students or any other member of the school. The reviewer checks that some conditions are met by the code of the student being reviewed. This process is called an audit and it’s kept in this table.

Columns:

discordToken (TODO: remove)

Columns:

event

An event anchors an objects into time.

Note: Some object attributes are related to time, but they express time only in relative terms to the beginning of the event. Also, live edits (i.e., editing an event while is ongoing) it’s not supported. The changes will only take effect after reloading the page.

Columns:

event_user

This table links users and events. A user can be in many events and an events have many users.

Columns:

group

Some projects are required to be made by groups. Those groups are kept in this table.

Columns:

group_status

Columns:

group_user

This table links users to groups. A user can be in many groups and a group contains many users.

Columns:

match

It is used for the bet system in the bonus exercises. Specifically to keep a record of the matches between students who will review and make a bet about each others code.

Columns:

object

Objects are generic representations of elements in the structure of the curriculum (Onboarding, campus, piscine, raids, etc). They are arranged in a hierarchical structure to allow unlimited nesting (see object_child). They also keep the timeline of the events relaying in durations (ex. duration, eventDuration, etc) specified by attributes (attrs).

Columns:

object_child

It keeps a child-parent relationship between two objects. It’s used to encapsulate objects inside each other.

Columns:

progress

It is a register of the steps in the progression of students doing the exercises and projects.

Columns:

record

Keeps a register for the bans. It can also keep the record of other situations, this is done by setting the banEndAt to a date already passed and the reason for the record.

Columns:

registration

Registrations to events (For example, an exam).

Columns:

registration_user

The user registered to events. A user can register to many events and and event can have many users.

Columns:

result

The result for each exercise and project made in the platform.

Columns:

role

Columns:

token

Columns:

transaction

It’s a register of the rewards given to students.

Columns:

user

Columns:

user_role

Columns: