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>
This commit is contained in:
Lukas Fleischer 2013-08-04 15:08:05 +02:00
parent 6844f6c1d2
commit 9ff082be25
3 changed files with 16 additions and 2 deletions

View file

@ -10,6 +10,13 @@ From 2.2.0 to 2.3.0
ALTER TABLE Users ADD COLUMN InactivityTS BIGINT NOT NULL DEFAULT 0;
----
2. Add a field to store the total number of TUs to the "TU_VoteInfo" table:
----
ALTER TABLE TU_VoteInfo
ADD COLUMN ActiveTUs tinyint(3) unsigned NOT NULL default '0';
----
From 2.1.0 to 2.2.0
-------------------