liquid_feedback_core

annotate Makefile @ 128:5ea2f9c5ba9a

Set "rank" for all "admitted" initiatives after voting is finished; Additional columns in "initiative" table store voting result information

Changes in detail:
- Renamed column "majority" of table "initiative" to "attainable"
- Added columns "favored", "unfavored" and "eligible" to "initiative" table
- Added constraints to "initiative" table, restricting certain value combinations in the the new columns
- Modified "calculate_ranks" function to update the new columns and always write "rank" information
- Marking the final winner is now done utilizing the new "eligible" column
author jbe
date Tue May 24 14:58:42 2011 +0200 (2011-05-24)
parents 8d021cb5eaf4
children c8cd87b87708
rev   line source
jbe@0 1 lf_update: lf_update.c
jbe@0 2 cc -Wall -g -lpq \
jbe@0 3 -I "`pg_config --includedir`" \
jbe@0 4 -L "`pg_config --libdir`" \
jbe@0 5 -o lf_update lf_update.c
jbe@0 6
jbe@0 7 clean::
jbe@0 8 rm -f lf_update

Impressum / About Us