mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
6844f6c1d2
commit
9ff082be25
3 changed files with 16 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue