LAYOUT: fixed some typos, changed CSS a bit
[e-DoKo.git] / create_database.sql
index d552be58c6fe8954db7994b013148b20b6aa82a8..d7b7e2091d769e2807c9542de252e30b9ee6a040 100644 (file)
@@ -206,10 +206,12 @@ 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',
-  `score` enum('120', 'call120','against120','90','call90','against90',
-          '60','call60','against60','30','call30','against30',
-          '0','call0','against0',
+  `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','made90'
+          '60','call60','against60','made60','30','call30','against30','made30',
+          '0','call0','against0','made0',
           'fox','karlchen','dulle','doko','againstqueens') default NULL,
   UNIQUE KEY `id` (`id`)
 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;