liquid_feedback_core
annotate update/core-update.v1.2.3-v1.2.4.sql @ 97:58451b5565ae
Introduced (organizational) units
- New table "unit"
- Each "area" refers to one unit
- "invite_code"s are valid for one or many units
- New table "privilege" stores "voting_right" for units
- Delegation scope 'global' is replaced by delegation scope 'unit'
- View "global_delegation" is replaced by "unit_delegation"
- Removed helper view "active_delegation"
- Checking that members have "voting_right" in several views and functions
- New view "unit_member_count" to update "member_count" column of new unit table
- New argument list for function "delegation_chain"(...) containing "unit_id"
- Renamed column "member_active" to "member_valid" in "delegation_chain_row"
- Modified demo.sql and init.sql to support units
- New table "unit"
- Each "area" refers to one unit
- "invite_code"s are valid for one or many units
- New table "privilege" stores "voting_right" for units
- Delegation scope 'global' is replaced by delegation scope 'unit'
- View "global_delegation" is replaced by "unit_delegation"
- Removed helper view "active_delegation"
- Checking that members have "voting_right" in several views and functions
- New view "unit_member_count" to update "member_count" column of new unit table
- New argument list for function "delegation_chain"(...) containing "unit_id"
- Renamed column "member_active" to "member_valid" in "delegation_chain_row"
- Modified demo.sql and init.sql to support units
author | jbe |
---|---|
date | Tue Dec 07 00:04:44 2010 +0100 (2010-12-07) |
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; |