Project

General

Profile

Feature #35

Updated by Cyber Collie 14 days ago

* [x] [ ] allow inserting questions as children of proposals and disputes 
 * [x] [ ] prohibit questions as children of questions 
 * [x] [ ] prohibit proposals as children of proposals 

 * [x] [ ] add column discussion_elements.question_count 
     * integer that counts the number of child questions a discussion element has 
     * count of the is incremented whenever a question is inserted  
     * ``` sql 
       ALTER TABLE `polarity`.`discussion_elements`  
       ADD COLUMN `question_count` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `proposal_count`; 
       ``` 
 * [x] [ ] discussion_elements.question_count needs to be sent to the client, when a discussion is fetched

Back