X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=create_database.sql;h=c5de955f5e02e18de3d71279bec86e1c6ed690fa;hp=4be13de954a2a4ac183b5a2c9df3f2ae48a6e213;hb=14cdf8ad54e90d7b208b72cd0bfd568e9c22bc32;hpb=7405ce4fabf64e905e7b7371764d74dbc4b1b198 diff --git a/create_database.sql b/create_database.sql index 4be13de..c5de955 100644 --- a/create_database.sql +++ b/create_database.sql @@ -204,9 +204,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `Score`; 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` tinyint(4) default NULL, + `score` enum('120', 'call120','against120','90','call90','against90', + '60','call60','against60','30','call30','against30', + '0','call0','against0', + 'fox','karlchen','dulle','doko','againstqueens') default NULL, UNIQUE KEY `id` (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -230,6 +234,7 @@ CREATE TABLE `Trick` ( `create_date` timestamp NOT NULL default '0000-00-00 00:00:00', `id` int(11) NOT NULL auto_increment, `game_id` int(11) NOT NULL default '0', + `winner` tinyint(4) default NULL, UNIQUE KEY `id` (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;