Mercurial > hg > fapweb
comparison dbdefs.inc.php @ 762:539bfbdd43ec
Add timestamps to votes, bump database version.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 20 Nov 2014 11:43:34 +0200 |
parents | e7fbcf4190e6 |
children | da0ddfe1b704 |
comparison
equal
deleted
inserted
replaced
761:1be30385e9d4 | 762:539bfbdd43ec |
---|---|
1 <? | 1 <? |
2 | 2 |
3 $dbVersion = 21; | 3 $dbVersion = 22; |
4 | 4 |
5 // | 5 // |
6 // Site settings and defaults we put in | 6 // Site settings and defaults we put in |
7 // | 7 // |
8 $siteSettingsGroups = array( | 8 $siteSettingsGroups = array( |
295 "votes" => array( | 295 "votes" => array( |
296 array("id" , "INTEGER", "PRIMARY KEY", "AUTOINCREMENT"), | 296 array("id" , "INTEGER", "PRIMARY KEY", "AUTOINCREMENT"), |
297 array("entry_id" , "INT", "DEFAULT NULL"), | 297 array("entry_id" , "INT", "DEFAULT NULL"), |
298 array("key_id" , "INT", "DEFAULT 0"), | 298 array("key_id" , "INT", "DEFAULT 0"), |
299 array("value" , "INT", "DEFAULT 0"), | 299 array("value" , "INT", "DEFAULT 0"), |
300 array("utime" , "INT", "DEFAULT 0"), | |
300 ), | 301 ), |
301 | 302 |
302 | 303 |
303 // Party information system tables | 304 // Party information system tables |
304 "display_vars" => array( | 305 "display_vars" => array( |