liquid_feedback_core
diff update/core-update.v1.2.6-v1.2.7.sql @ 72:dcaa1525c388
Removed unintentionally inserted extra columns in view "global_delegation" in previous commit; Update script from v1.2.5 to v1.2.6 also works with PostgreSQL 8.3 now; Update script from v1.2.6 to v1.2.7 added
author | jbe |
---|---|
date | Mon Aug 30 23:49:32 2010 +0200 (2010-08-30) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/update/core-update.v1.2.6-v1.2.7.sql Mon Aug 30 23:49:32 2010 +0200 1.3 @@ -0,0 +1,13 @@ 1.4 +BEGIN; 1.5 + 1.6 +CREATE OR REPLACE VIEW "liquid_feedback_version" AS 1.7 + SELECT * FROM (VALUES ('1.2.7', 1, 2, 7)) 1.8 + AS "subquery"("string", "major", "minor", "revision"); 1.9 + 1.10 +DROP VIEW "global_delegation"; 1.11 + 1.12 +CREATE VIEW "global_delegation" AS 1.13 + SELECT "id", "truster_id", "trustee_id" 1.14 + FROM "active_delegation" WHERE "scope" = 'global'; 1.15 + 1.16 +COMMIT;