This repository was archived by the owner on Aug 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
IV. Database schema
Andrey Bogdanov edited this page Mar 2, 2016
·
26 revisions
Type: hash.
Key: board name.
Value: last post number on the board.
Type: multiple hashes. <boardName> is the additional part of the key.
Key: thread number.
Value: Stringified JSON. Fields:
-
archivedDetermines if the thread is archived. Possible values:true/false. -
boardNameThe thread's board name. -
closedDetermines if the thread is closed. Possible values:true/false. -
createdAtThread creation date and time in ISO format. -
fixedDetermines if the thread is fixed. Possible values:true/false. -
numberThe number of the thread. -
userThread author information. Anobject.
-
hashpassUser hashpass (hex representation of a SHA-1 hash). May benull. -
ipIP-address of the user in normalized IPv6 form. -
levelUser access level."SUPERUSER","ADMIN","MODER","USER", ornull. -
passwordHashed (SHA-1) user password. May benull.
-
unbumpable Determines if the thread is unbumpable. Possible values:true/false`.
-
ZSET— ordered set -
SET-M— multi-set (using multiple keys) -
HASH-M— multi-hash (using multiple keys) -
ZSET-M— ordered multi-set (using multiple keys)
Note: Refer to http://redis.io/topics/data-types