liquid_feedback_core

view update/core-update.v1.2.2-v1.2.3.sql @ 79:0758a2e02620

implement auto_support and delegation checks

* users can put their support in auto_support mode that supports every new draft text, this is automaticly done for the author of the draft.
* enforce that new delegations cannot be done set on inactive members.
* delete also incomming delegations on delete of a user.
author Daniel Poelzleithner <poelzi@poelzi.org>
date Thu Oct 07 19:45:12 2010 +0200 (2010-10-07)
parents 1af482e378a1
children
line source
1 BEGIN;
3 CREATE OR REPLACE VIEW "liquid_feedback_version" AS
4 SELECT * FROM (VALUES ('1.2.3', 1, 2, 3))
5 AS "subquery"("string", "major", "minor", "revision");
7 CREATE TABLE "rendered_draft" (
8 PRIMARY KEY ("draft_id", "format"),
9 "draft_id" INT8 REFERENCES "draft" ("id") ON DELETE CASCADE ON UPDATE CASCADE,
10 "format" TEXT,
11 "content" TEXT NOT NULL );
13 COMMENT ON TABLE "rendered_draft" IS 'This table may be used by frontends to cache "rendered" drafts (e.g. HTML output generated from wiki text)';
15 COMMIT;

Impressum / About Us