summaryrefslogtreecommitdiffstats
path: root/create_database.sql
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2007-11-02 11:23:45 +0100
committerArun Persaud <arun@nubati.net>2007-11-02 11:31:25 +0100
commit7f17a1954f153ecdfecd524d3f7c921b3b0bd08a (patch)
tree331c44949765d6a39ea60093083a8e3932a827d0 /create_database.sql
parenta41eca191e497f8821031e99920e0f053a090b1d (diff)
downloade-DoKo-7f17a1954f153ecdfecd524d3f7c921b3b0bd08a.tar.gz
e-DoKo-7f17a1954f153ecdfecd524d3f7c921b3b0bd08a.tar.bz2
e-DoKo-7f17a1954f153ecdfecd524d3f7c921b3b0bd08a.zip
NEW FEATURE: count game points, partly done ;)
a table will be shown now for score keeping. fox, karlchen and dokos are accounted for normal win, calling something and winning should be accounted for still missing: both parties call or one party calls and doesn't acchieve it's goal
Diffstat (limited to 'create_database.sql')
-rw-r--r--create_database.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/create_database.sql b/create_database.sql
index d552be5..4408426 100644
--- a/create_database.sql
+++ b/create_database.sql
@@ -206,7 +206,9 @@ CREATE TABLE `Score` (
`id` int(11) NOT NULL auto_increment,
`create_date` timestamp NOT NULL default '0000-00-00 00:00:00',
`game_id` int(11) NOT NULL default '0',
- `hand_id` int(11) NOT NULL default '0',
+ `party` enum('re','contra') default NULL ,
+ `winner_id` int(11) default NULL ,
+ `looser_id` int(11) default NULL ,
`score` enum('120', 'call120','against120','90','call90','against90',
'60','call60','against60','30','call30','against30',
'0','call0','against0',