Skip to content

Database

Stian Onarheim edited this page Aug 9, 2020 · 1 revision

Welcome to the Database page! Here is a more in-depth description of the database.

user


id - A uniquely auto incremented value that differs the users from eachother.

streamId - A uniquely 32 characters long string used to recognize the user.

username - A uniquely name chosen by the user. It is used when logging in and is the default display name. When inside a session, the host's username can be spotted in the room info box.

password - Password used when logging in.

isGuest - A boolean value used when checking if the user is a guest or not.

timeCreated - Number of seconds elapsed since the UNIX epoch of the user creation. It is not currently in use.

room


id - The Room's name. Used when joining a session.

host - Foreign key of the user's id.

password - Password used when joining a session.

roomSession


roomId - Foreign key of the room's id.

userId - Foreign key of the user's id.

Clone this wiki locally