liquid_feedback_core
annotate update/core-update.v1.2.3-v1.2.4.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.
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 | bdccc56fb705 |
| children |
| rev | line source |
|---|---|
| jbe@65 | 1 BEGIN; |
| jbe@65 | 2 |
| jbe@65 | 3 CREATE OR REPLACE VIEW "liquid_feedback_version" AS |
| jbe@65 | 4 SELECT * FROM (VALUES ('1.2.4', 1, 2, 4)) |
| jbe@65 | 5 AS "subquery"("string", "major", "minor", "revision"); |
| jbe@65 | 6 |
| jbe@65 | 7 -- no changes in database scheme except version number |
| jbe@65 | 8 |
| jbe@65 | 9 COMMIT; |