liquid_feedback_core

view update/core-update.v1.0.2-v1.0.3.sql @ 69:c65002c1a509

Important bugfix, affecting correct counting of supporters/votes

Changed "trustee_id" to "truster_id" in following views:
- global_delegation
- area_delegation
- issue_delegation

Also updated comments for that views.

The new behaviour was expected by the following functions:
- membership_weight_with_skipping
- weight_of_added_delegations_for_population_snapshot
- weight_of_added_delegations_for_interest_snapshot
- weight_of_added_vote_delegations

The bug caused inactive members to falsely increase voting weight of trustees.
author jbe
date Mon Aug 30 22:01:08 2010 +0200 (2010-08-30)
parents 3fbf9e18ee52
children
line source
1 BEGIN;
3 CREATE OR REPLACE VIEW "liquid_feedback_version" AS
4 SELECT * FROM (VALUES ('1.0.3', 1, 0, 3))
5 AS "subquery"("string", "major", "minor", "revision");
7 DROP INDEX "delegating_voter_member_id_idx";
8 CREATE INDEX "delegating_voter_member_id_idx" ON "delegating_voter" ("member_id");
10 COMMIT;

Impressum / About Us