Skip to content

Commit

Permalink
Add comments Statuses to data model documentation (publiclab#4318)
Browse files Browse the repository at this point in the history
* Update node_tags.yml

* Update admin_controller_test.rb

* Update admin_controller_test.rb

* Update DATA_MODEL.md

* Update DATA_MODEL.md

* Update node_tags.yml

* Update doc/DATA_MODEL.md

Co-Authored-By: dinaelhanan <dinaelhanan@gmail.com>

* Update doc/DATA_MODEL.md

Co-Authored-By: dinaelhanan <dinaelhanan@gmail.com>

* Update DATA_MODEL.md

* Quick fix
  • Loading branch information
digitaldina authored and grvsachdeva committed Dec 18, 2018
1 parent 8d9e87a commit 7d77bc1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/DATA_MODEL.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ They are typically cached for quick loading, and can be inserted anywhere in the
Comments belong to Notes via `nid`, and each have an author via `uid`; primary key `cid`. Maps also have comments via `nid`, and Answers may also have comments, via `aid`.
Comment `status` -- a property of `comments`, can be:
* 0: banned
* 1: normal
* 4: moderated -- i.e. comment created by a first-time poster, and has not yet been "approved"
### Answers
Answers are similar to Comments, but are used in Question-type Notes, and may each have Comments of their own. Primary key `aid`.
Expand Down

0 comments on commit 7d77bc1

Please sign in to comment.