Add a quorum column to TU_VoteInfo

This allows for specifying a quorum per vote and sets a basis for
implementing automated acceptance/rejection of TU votes later.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2013-08-04 17:16:17 +02:00
parent 86fa42f399
commit 64bfa6e828
2 changed files with 5 additions and 2 deletions

View file

@ -198,6 +198,7 @@ CREATE TABLE IF NOT EXISTS TU_VoteInfo (
User VARCHAR(32) NOT NULL,
Submitted bigint(20) unsigned NOT NULL,
End bigint(20) unsigned NOT NULL,
Quorum decimal(2, 2) unsigned NOT NULL,
SubmitterID int(10) unsigned NOT NULL,
Yes tinyint(3) unsigned NOT NULL default '0',
No tinyint(3) unsigned NOT NULL default '0',