liquid_feedback_core

view update/core-update.v1.2.7-v1.2.8.sql @ 111:844c442c5a80

Work on new features; Slight change of behaviour regarding revocation of initiatives

New features:
- possiblity for members to store issue and voting comments
- initial work on notification system (new columns in table "membership" and new "event" table)
- added new type "issue_state" and new column "issue"."state"

Other changes:
- revocation of last initiative closes issue without delay, if issue has not been accepted yet
- moved table "contingent" up (after "system_setting" table)
author jbe
date Thu Mar 03 00:01:37 2011 +0100 (2011-03-03)
parents f77c0f3d443c
children
line source
1 BEGIN;
3 CREATE OR REPLACE VIEW "liquid_feedback_version" AS
4 SELECT * FROM (VALUES ('1.2.8', 1, 2, 8))
5 AS "subquery"("string", "major", "minor", "revision");
7 ALTER TABLE "delegation" DROP CONSTRAINT "delegation_area_id_key";
8 ALTER TABLE "delegation" DROP CONSTRAINT "delegation_issue_id_key";
9 DROP INDEX "delegation_global_truster_id_trustee_id_unique_idx";
11 ALTER TABLE "delegation" ADD UNIQUE ("area_id", "truster_id");
12 ALTER TABLE "delegation" ADD UNIQUE ("issue_id", "truster_id");
13 CREATE UNIQUE INDEX "delegation_global_truster_id_unique_idx"
14 ON "delegation" ("truster_id") WHERE "scope" = 'global';
16 COMMIT;

Impressum / About Us