Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTask: document data structures used in NodeBB #7744
Comments
Closed
|
https://github.com/BenLubar/nodebb-postgres-converter/tree/classify-data may be helpful in this task. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


We really need to document data structures in the database. Ideally, in some format that is machine-readable, but at least for the benefit of humans.
For example, here's what (partial, missing fields not added to newly-created topics) definitions of the "topic" and "post" data types in the database looks like.
Describing all data types is the first step of many future database-related improvements, such as automatic pseudo-index and counter repairs and moving away from the Redis database emulation layer.