Actions
Feature #35
openPolarity - Feature #27: Allow questions on proposals
Allow inserting of question on proposals
Start date:
03/08/2026
Due date:
% Done:
80%
Estimated time:
Description
-
allow inserting questions as children of proposals and disputes
-
prohibit questions as children of questions
-
prohibit proposals as children of proposals
-
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
-
ALTER TABLE `polarity`.`discussion_elements` ADD COLUMN `question_count` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `proposal_count`;
-
discussion_elements.question_count needs to be sent to the client, when a discussion is fetched
Actions