liquid_feedback_core

view update/core-update.v1.2.7-v1.2.8.sql @ 113:76ffbafb23b5

Work on event and notification system; Added more "issue_state"s; Replaced "ignored_issue" table; Removal of sessions in "delete_member" function

- "state" column of table "event" is now always filled
- splitted revocation state into 3 new "issue_state"s:
- 'canceled_revoked_before_accepted'
- 'canceled_after_revocation_during_discussion'
- 'canceled_after_revocation_during_verification'
- Added columns "notify_level" and "notify_event_id" to "member" table
- Replaced view "ignored_issue" by three new views:
- TABLE "ignored_member"
- TABLE "ignored_initiative"
- TABLE "non_voter"
- Function "delete_member" now removes "session"s
- Added member specific views on events:
- VIEW "event_seen_by_member"
- VIEW "pending_notification"
author jbe
date Sat Mar 05 22:05:13 2011 +0100 (2011-03-05)
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