summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2013-08-04 15:08:05 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2013-08-22 17:47:51 +0200
commit9ff082be25d444535ce99410363e63f6cca5f30d (patch)
tree8a0ba4c58dadad8ffe86888da7e6156739f098f5 /support
parent6844f6c1d2965cd5ec2ad72c887baeed9517c246 (diff)
downloadaur-9ff082be25d444535ce99410363e63f6cca5f30d.tar.gz
aur-9ff082be25d444535ce99410363e63f6cca5f30d.tar.xz
Store the number of TUs when starting a vote
This will be used for automated calculation of vote participation later. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'support')
-rw-r--r--support/schema/aur-schema.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/schema/aur-schema.sql b/support/schema/aur-schema.sql
index 68db93f4..51f9601d 100644
--- a/support/schema/aur-schema.sql
+++ b/support/schema/aur-schema.sql
@@ -202,6 +202,7 @@ CREATE TABLE IF NOT EXISTS TU_VoteInfo (
Yes tinyint(3) unsigned NOT NULL default '0',
No tinyint(3) unsigned NOT NULL default '0',
Abstain tinyint(3) unsigned NOT NULL default '0',
+ ActiveTUs tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (ID),
FOREIGN KEY (SubmitterID) REFERENCES Users(ID) ON DELETE CASCADE
) ENGINE = InnoDB;