summaryrefslogtreecommitdiffstats
path: root/support/schema/aur-schema.sql
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2013-08-04 17:16:17 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2013-08-22 17:48:16 +0200
commit64bfa6e8282744ee14b0bde4bb8caacb43400562 (patch)
tree75be58ecb520c5ccda8ca991373cab18e9cc8f62 /support/schema/aur-schema.sql
parent86fa42f399dafb2a41b1cfb9c2e0d0b5ab9fedfe (diff)
downloadaur-64bfa6e8282744ee14b0bde4bb8caacb43400562.tar.gz
aur-64bfa6e8282744ee14b0bde4bb8caacb43400562.tar.xz
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>
Diffstat (limited to 'support/schema/aur-schema.sql')
-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 51f9601d..59da3aa4 100644
--- a/support/schema/aur-schema.sql
+++ b/support/schema/aur-schema.sql
@@ -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',