liquid_feedback_core

view update/core-update.v1.2.6-v1.2.7.sql @ 96:07e6a4f11b5b

Removed unneccessary JOIN in "create_interest_snapshot"(...)

The INSERT INTO "direct_supporter_snapshot" in function "create_interest_snapshot"(...) does not need to check if members are active.
The previous step ensures that the joined table "direct_interest_snapshot" does not contain entries from disabled members.
author jbe
date Mon Dec 06 23:50:32 2010 +0100 (2010-12-06)
parents dcaa1525c388
children
line source
1 BEGIN;
3 CREATE OR REPLACE VIEW "liquid_feedback_version" AS
4 SELECT * FROM (VALUES ('1.2.7', 1, 2, 7))
5 AS "subquery"("string", "major", "minor", "revision");
7 DROP VIEW "global_delegation";
9 CREATE VIEW "global_delegation" AS
10 SELECT "id", "truster_id", "trustee_id"
11 FROM "active_delegation" WHERE "scope" = 'global';
13 COMMIT;

Impressum / About Us