liquid_feedback_core
diff update/core-update.v2.0.11-v2.1.0.sql @ 289:f2292b94fc58
Updated comments for polling mode in core.sql and core-update.v2.0.11-v2.1.0.sql
author | jbe |
---|---|
date | Sun Aug 19 23:32:26 2012 +0200 (2012-08-19) |
parents | fb66e74d94b8 |
children | 2301a1f2acfa |
line diff
1.1 --- a/update/core-update.v2.0.11-v2.1.0.sql Sun Aug 19 21:40:57 2012 +0200 1.2 +++ b/update/core-update.v2.0.11-v2.1.0.sql Sun Aug 19 23:32:26 2012 +0200 1.3 @@ -31,10 +31,10 @@ 1.4 ( "polling" = TRUE AND 1.5 "admission_time" ISNULL AND "discussion_time" ISNULL AND 1.6 "verification_time" ISNULL AND "voting_time" ISNULL ) ); 1.7 -COMMENT ON COLUMN "policy"."polling" IS 'TRUE = special policy for non-user-generated issues, i.e. polls ("admission_time" MUST be set to NULL, the other timings may be set to NULL altogether, allowing individual timing for issues)'; 1.8 +COMMENT ON COLUMN "policy"."polling" IS 'TRUE = special policy for non-user-generated issues without issue quorum, where certain initiatives (those having the "polling" flag set) do not need to pass the initiative quorum; "admission_time" MUST be set to NULL, the other timings may be set to NULL altogether, allowing individual timing for those issues'; 1.9 1.10 ALTER TABLE "initiative" ADD COLUMN "polling" BOOLEAN NOT NULL DEFAULT FALSE; 1.11 -COMMENT ON COLUMN "initiative"."polling" IS 'Initiative is an option for a poll (see "policy"."polling"), and does not need to pass the initiative quorum'; 1.12 +COMMENT ON COLUMN "initiative"."polling" IS 'Initiative does not need to pass the initiative quorum (see "policy"."polling")'; 1.13 1.14 ALTER TABLE "privilege" RENAME COLUMN "voting_right_manager" TO "member_manager"; 1.15 ALTER TABLE "privilege" ADD COLUMN "initiative_right" BOOLEAN NOT NULL DEFAULT TRUE; 1.16 @@ -44,7 +44,7 @@ 1.17 COMMENT ON COLUMN "privilege"."member_manager" IS 'Adding/removing members from the unit, granting or revoking "initiative_right" and "voting_right"'; 1.18 COMMENT ON COLUMN "privilege"."initiative_right" IS 'Right to create an initiative'; 1.19 COMMENT ON COLUMN "privilege"."voting_right" IS 'Right to support initiatives, create and rate suggestions, and to vote'; 1.20 -COMMENT ON COLUMN "privilege"."polling_right" IS 'Right to create polls (see "policy"."polling" and "initiative"."polling")'; 1.21 +COMMENT ON COLUMN "privilege"."polling_right" IS 'Right to create issues with policies having the "policy"."polling" flag set, and to add initiatives having the "initiative"."polling" flag set to those issues'; 1.22 1.23 CREATE OR REPLACE FUNCTION "freeze_after_snapshot" 1.24 ( "issue_id_p" "issue"."id"%TYPE )