2008-08-04 05:44:28 +02:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< META HTTP-EQUIV = "CONTENT-TYPE" CONTENT = "text/html; charset=utf-8" >
< TITLE > Free Poker DB Tabledesign< / TITLE >
< / HEAD >
< BODY LANG = "en-GB" >
2008-08-11 18:39:13 +02:00
< P > See commit comments for version info, see status.txt for status.< / P >
< P > Direct suggestions, praise and animal names to steffen@sycamoretest.info or check readme-overview.txt for more contacts< / P >
2008-08-05 00:03:13 +02:00
< P > I decided to be generous on the sizes of the types - if computing experience shows one thing then its that it will come back to bite you in the ass if you save 2 bits in the wrong place. If performance and/or db size are too bad we can still shrink some fields.< / P >
< p > Relationships are noted in the comment (need to double check that all are listed)< / P >
< p > If you want more comments or if anything is confusing or bad let me know.< / P >
< p > All money/cash amounts are stored in cents/pennies/whatever (e.g. $4.27 would be stored a 427). Chips are stored as-is (e.g. 3675 chips would be stored as 3675).< / P >
< p > Notes on use/editing:< / P >
< p > Any change to this must be carried to to the table creation code in fpdb_db.py or at least an entry to known bugs is to be made.< / P >
2008-08-11 18:39:13 +02:00
< P > If the code (in particular the importer) and this document disagree then this document is to be considered authorative.< / P >
2008-08-04 05:44:28 +02:00
< p > < b > License< / b > < br >
Trademarks of third parties have been used under Fair Use or similar laws.< br >
Copyright 2008 Steffen Jobbagy-Felso< br >
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 as published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license can be found in fdl-1.2.txt< br >
The program itself is licensed under AGPLv3, see agpl-3.0.txt< / p >
2008-08-05 00:03:13 +02:00
< p > See readme.txt for copying< / P >
2008-08-15 02:45:40 +02:00
< p > < B > Table Settings< / B > < / P >
2008-08-10 03:52:05 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
< TD > < P > Field name< / P > < / TD >
< TD > < P > Type< / P > < / TD >
< TD > < P > Comment< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > version< / P > < / TD >
< TD > < P > smallint< / P > < / TD >
< TD > < P > the git version of the database (ie. table design changes and major bugfixes require a bump)< / P > < / TD >
< / TR >
< / TABLE >
2008-08-15 02:45:40 +02:00
< p > < B > Table Players< / B > < / P >
2008-08-04 05:44:28 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
< TD > < P > Field name< / P > < / TD >
< TD > < P > Type< / P > < / TD >
< TD > < P > Comment< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
2008-08-05 00:03:13 +02:00
< TD > < P > id< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-05 01:14:17 +02:00
< TD > < P > name< / P > < / TD >
< TD > < P > varchar(32)< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > siteId< / P > < / TD >
2008-08-05 01:14:17 +02:00
< TD > < P > smallint< / P > < / TD >
2008-08-15 02:45:40 +02:00
< TD > < P > references Sites.id< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-10 03:52:05 +02:00
< TD > < P > comment< / P > < / TD >
< TD > < P > text< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > commentTs< / P > < / TD >
2008-08-05 01:14:17 +02:00
< TD > < P > datetime (in UTC)< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< / TABLE >
2008-08-10 03:52:05 +02:00
< p > < BR > < / P >
2008-08-15 02:45:40 +02:00
< p > < B > Table Autorates< / B > < / P >
2008-08-10 03:52:05 +02:00
< p > An autorating is a computer-" recognised" label/category for a player. Examples could include " Calling Station" if a player has < 20% each for aggression and folding postflop. Or " Tight-Aggressive/Aggressive" for players with < 20% VPIP, > 10% PFR and > 40% postflop aggression.< / P >
2008-08-04 05:44:28 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
2008-08-10 03:52:05 +02:00
< TD > < P > Field name< / P > < / TD >
< TD > < P > Type< / P > < / TD >
< TD > < P > Comment< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-10 03:52:05 +02:00
< TD > < P > id< / P > < / TD >
< TD > < P > bigint< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > playerId< / P > < / TD >
2008-08-10 03:52:05 +02:00
< TD > < P > int< / P > < / TD >
2008-08-15 02:45:40 +02:00
< TD > < P > references Players.id< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > gametypeId< / P > < / TD >
2008-08-10 03:52:05 +02:00
< TD > < P > smallint< / P > < / TD >
2008-08-15 02:45:40 +02:00
< TD > < P > references Gametypes.id< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-10 03:52:05 +02:00
< TD > < P > description< / P > < / TD >
< TD > < P > varchar(50)< / P > < / TD >
< TD > < P > autorating description< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > shortDesc< / P > < / TD >
2008-08-11 18:39:13 +02:00
< TD > < P > char(8)< / P > < / TD >
< TD > < P > short description e.g. for display in HUD< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > ratingTime< / P > < / TD >
2008-08-11 18:39:13 +02:00
< TD > < P > datetime (in UTC)< / P > < / TD >
< TD > < P > timestamp of rating< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > handCount< / P > < / TD >
2008-08-11 18:39:13 +02:00
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands rating is based on< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< / TABLE >
2008-08-10 03:52:05 +02:00
< p > < BR > < / P >
2008-08-15 02:45:40 +02:00
< p > < B > Table Gametypes< / B > < / P >
2008-08-04 05:44:28 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
2008-08-11 18:39:13 +02:00
< TD > < P > Field name< / P > < / TD >
< TD > < P > Type< / P > < / TD >
< TD > < P > Comment< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-11 18:39:13 +02:00
< TD > < P > id< / P > < / TD >
< TD > < P > smallint< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > siteId< / P > < / TD >
2008-08-11 18:39:13 +02:00
< TD > < P > smallint< / P > < / TD >
< TD > < P > references sites.id< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-05 00:03:13 +02:00
< TD > < P > type< / P > < / TD >
< TD > < P > char(4)< / P > < / TD >
2008-08-11 18:39:13 +02:00
< TD > < p > valid entries:< br >
ring - ringgames aka cash games< br >
tour - tournament incl SnG< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
2008-08-17 02:48:03 +02:00
< TR VALIGN = TOP >
< TD > < P > base< / P > < / TD >
< TD > < P > char(4)< / P > < / TD >
< TD > < p > The underlying structure. valid entries:< br >
hold - Holdem and Omaha< br >
2008-10-08 06:47:47 +02:00
stud - Stud and Razz< br >
draw - (incl Badugi)< / P > < / TD >
2008-08-17 02:48:03 +02:00
< / TR >
2008-08-04 05:44:28 +02:00
< TR VALIGN = TOP >
2008-08-11 18:39:13 +02:00
< TD > < P > category< / P > < / TD >
< TD > < P > varchar(9)< / P > < / TD >
< TD > < p > valid entries:< br >
holdem=Texas Hold'em< br >
omahahi=Omaha High only< br >
omahahilo=Omaha 8 or better< br >
razz=Razz< br >
studhi=7 Card Stud High only< br >
2008-10-08 06:47:47 +02:00
studhilo=7 Card Stud 8 or better< br >
fivedraw=Five Card Draw< br >
2008-10-08 07:28:09 +02:00
27_1draw=2-7 Single Draw< br >
27_3draw=2-7 Tripple Draw< br >
2008-10-08 06:47:47 +02:00
badugi=Badugi< / p > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > limitType< / P > < / TD >
2008-08-11 18:39:13 +02:00
< TD > < P > char(2)< / P > < / TD >
< TD > < p > nl=No Limit< br >
cn=Cap No Limit< br >
pl=Pot Limit< br >
cp=Cap Pot Limit< br >
fl=Fixed Limit< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
2008-08-17 02:48:03 +02:00
< TR VALIGN = TOP >
< TD > < P > hiLo< / P > < / TD >
< TD > < P > char(1)< / P > < / TD >
< TD > < p > Whether the game is hi, lo or both. Valid Entries:< br >
h - High only< br >
l - Low only< br >
s - Hi/Lo Split< / P > < / TD >
< / TR >
2008-08-04 05:44:28 +02:00
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > smallBlind< / P > < / TD >
2008-08-07 17:08:23 +02:00
< TD > < P > int< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > bigBlind< / P > < / TD >
2008-08-07 17:08:23 +02:00
< TD > < P > int< / P > < / TD >
2008-08-11 18:39:13 +02:00
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > smallBet< / P > < / TD >
2008-08-07 17:08:23 +02:00
< TD > < P > int< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > bigBet< / P > < / TD >
2008-08-07 17:08:23 +02:00
< TD > < P > int< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< / TABLE >
2008-08-10 03:52:05 +02:00
< p > < BR > < / P >
2008-08-15 02:45:40 +02:00
< p > < B > Table Sites< / B > < / P >
2008-08-04 05:44:28 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
2008-08-10 03:52:05 +02:00
< TD > < P > Field name< / P > < / TD >
< TD > < P > Type< / P > < / TD >
< TD > < P > Comment< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-10 03:52:05 +02:00
< TD > < P > id< / P > < / TD >
< TD > < P > smallint< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-10 03:52:05 +02:00
< TD > < P > name< / P > < / TD >
< TD > < P > varchar(32)< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-10 03:52:05 +02:00
< TD > < P > currency< / P > < / TD >
< TD > < P > char(3)< / P > < / TD >
< TD > < P > currency code, e.g. USD, GBP, EUR< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< / TABLE >
2008-08-10 03:52:05 +02:00
< p > < BR > < / P >
2008-08-15 02:45:40 +02:00
< p > < B > Table Hands< / B > < / P >
2008-08-04 05:44:28 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
2008-08-11 18:39:13 +02:00
< TD > < P > Field Name< / P > < / TD >
< TD > < P > Type< / P > < / TD >
< TD > < P > Comment< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-11 18:39:13 +02:00
< TD > < P > id< / P > < / TD >
< TD > < P > bigint< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
2008-08-17 03:46:23 +02:00
< TR VALIGN = TOP >
< TD > < P > tableName< / P > < / TD >
< TD > < P > varchar(20)< / P > < / TD >
< TD > < P > The site's name for the current table< / P > < / TD >
< / TR >
2008-08-04 05:44:28 +02:00
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > siteHandNo< / P > < / TD >
2008-08-11 18:39:13 +02:00
< TD > < P > bigint< / P > < / TD >
< TD > < P > the site's hand number< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > gametypeId< / P > < / TD >
2008-08-11 18:39:13 +02:00
< TD > < P > smallint< / P > < / TD >
< TD > < P > references gametypes.id< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > handStart< / P > < / TD >
2008-08-11 18:39:13 +02:00
< TD > < P > datetime (in UTC)< / P > < / TD >
< TD > < P > start date& time of the hand< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
2008-08-17 03:46:23 +02:00
< TR VALIGN = TOP >
< TD > < P > importTime< / P > < / TD >
< TD > < P > datetime (in UTC)< / P > < / TD >
< TD > < P > date& time of import of this hand< / P > < / TD >
< / TR >
2008-08-04 05:44:28 +02:00
< TR VALIGN = TOP >
2008-08-11 18:39:13 +02:00
< TD > < P > seats< / P > < / TD >
< TD > < P > smallint< / P > < / TD >
< TD > < P > number of used seats (ie. that got dealt cards)< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
2008-08-18 03:45:06 +02:00
< TR VALIGN = TOP >
< TD > < P > maxSeats< / P > < / TD >
< TD > < P > smallint< / P > < / TD >
< TD > < P > number of available seats< / P > < / TD >
< / TR >
2008-08-04 05:44:28 +02:00
< TR VALIGN = TOP >
2008-08-11 18:39:13 +02:00
< TD > < P > comment< / P > < / TD >
< TD > < P > text< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > commentTs< / P > < / TD >
2008-08-11 18:39:13 +02:00
< TD > < P > datetime (in UTC)< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< / TABLE >
2008-08-11 18:39:13 +02:00
< p > < BR > < / P >
2008-08-15 02:45:40 +02:00
< p > < B > Table BoardCards< / B > < / P >
2008-08-11 18:39:13 +02:00
< p > cardX -> can be 1 through 5< / P >
2008-08-04 05:44:28 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > Field Name< / P > < / TD >
< TD > < P>Type< / P > < / TD >
< TD > < P > Comment< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > id< / P > < / TD >
< TD > < P > bigint< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > handId< / P > < / TD >
< TD > < P > bigint< / P > < / TD >
< TD > < P > the site's hand number< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > cardXValue< / P > < / TD >
< TD > < P > smallint< / P > < / TD >
2008-10-08 07:00:49 +02:00
< TD > < P > 2-10=2-10, J=11, Q=12, K=13, A=14 (even in razz), unknown/no card=x, kept=k (draw only)< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > cardXSuit< / P > < / TD >
< TD > < P > char(1)< / P > < / TD >
< TD > < P > h=hearts, s=spades, d=diamonds, c=clubs, unknown/no card=x< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< / TABLE >
2008-08-15 02:45:40 +02:00
< p > < BR > < / P >
< p > < B > Table HandsPlayers< / B > < / P >
2009-06-07 22:55:49 +02:00
< p > cardX: can be 1 through 20, one for each card. In holdem only 1-2 of these are used, in omaha 1-4, in stud/razz 1-7, in single draw games 1-10 is used and in badugi 1-16 (4*4) is used.< / P >
< p > For the draw games: the first 5 (badugi: 4) cards are the initial cards, the next 5 (badugi: 4) are after the first draw. If a player keeps some cards then those cards' spaces are filled with "k", short for "kept".< br >
Example 1: If a player gets 2-6 spades for his first five cards and decides to throw away the 4 and then gets a 7 of spades then the first 10 fields of cardXValue would be as follows: 2, 3, 4, 5, 6, k, k, 7, k, k< br >
Example 2: If a player gets 2, 3, 5, 8, J of spades for his first five cards and decides to throw away the 2 and the 3 and then gets a Q and K of spades then the first 10 fields of cardXValue would be as follows: 2, 3, 5, 8, J, Q, K, k, k, k< br >
Note that it will k in the space of which card was there previously, so in example 2 where the player kept the last 3 cards, the last 3 fields of the first draw (ie. card8-10Value) are replaced with k.< / p >
2008-08-10 03:52:05 +02:00
< p > I did not separate this into an extra table because I felt the lost space is not sufficiently large. Also the benefit for searching is far less relevant.< / P >
2009-06-07 22:55:49 +02:00
< p > ToDo: Original plan was to implement the many flags from hudcache as booleans - need to try this out as it will save space and may therefore be quicker.< / p >
2008-08-04 05:44:28 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
2008-08-15 02:45:40 +02:00
< TR VALIGN = TOP >
< TD > < P > Field Name< / P > < / TD >
< TD > < P > Type< / P > < / TD > < TD >
< P > Comment< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > id< / P > < / TD >
< TD > < P > bigint< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > handId< / P > < / TD >
< TD > < P > bigint< / P > < / TD >
< TD > < P > references Hands.id< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > playerId< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > references Players.id< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > startCash< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > < BR > < / P > < / TD > < / TR >
< TR VALIGN = TOP >
< TD > < P > position< / P > < / TD >
< TD > < P > char(1)< / P > < / TD >
2008-08-17 03:46:23 +02:00
< TD > < p > BB=B, SB=S, Button=0, Cutoff=1, etc.< br >
This is used in holdem/omaha only.< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > seatNo< / P > < / TD >
< TD > < P > smallint< / P > < / TD >
< TD > < p > The seat in which the person was sitting - necessary for HUD< / P > < / TD >
2008-08-15 02:45:40 +02:00
< / TR >
< TR VALIGN = TOP >
2009-06-07 22:55:49 +02:00
< TD > < P > card1(..7)< / P > < / TD >
2008-08-15 02:45:40 +02:00
< TD > < P > smallint< / P > < / TD >
2009-06-07 22:55:49 +02:00
< TD > < p > 0=none/unknown, 1-13=2-Ah 14-26=2-Ad 27-39=2-Ac 40-52=2-As< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
2008-12-10 04:55:12 +01:00
< TR VALIGN = TOP >
2009-06-07 22:55:49 +02:00
< TD > < P > startCards< / P > < / TD >
< TD > < P > smallint< / P > < / TD >
< TD > < p > int representing Holdem starting cards.< br / > Hand is stored as an int 13 * x + y where x and y
are in range 0..12, and (x+2) and (y+2) represents rank of each card (2=2 .. 14=Ace). < br / >
If x > y then pair is suited, if x < y then unsuited . < br / >
Omaha and other games may need to use this as a key into another table. (to be decided ...)< / P > < / TD >
2008-12-10 04:55:12 +01:00
< / TR >
< TR VALIGN = TOP >
2009-06-07 22:55:49 +02:00
< TD > < P > ante< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > note: for cash this could be boolean, but in tourneys you may enter a hand with less than the full ante< / P > < / TD >
2008-12-10 04:55:12 +01:00
< / TR >
2008-08-04 05:44:28 +02:00
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > winnings< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > winnings in this hand (bets, antes, etc. are NOT deducted, but rake already is)< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > rake< / P > < / TD >
< TD > < P > int< / P > < / TD >
2009-06-07 22:55:49 +02:00
< TD > < P > rake for this player for this hand (i.e. final pot(s) size = winnings + rake)< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > totalProfit< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > profit for this player for this hand ( i.e. winnings - (ante + bets) )< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > comment< / P > < / TD >
< TD > < P > text< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > commentTs< / P > < / TD >
< TD > < P > datetime (in UTC)< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > tourneysPlayersId< / P > < / TD >
< TD > < P > bigint< / P > < / TD >
< TD > < P > references TourneysPlayers.id< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
2009-06-07 22:55:49 +02:00
< TR VALIGN = TOP >
< TD > < P > tourneyTypeId< / P > < / TD >
< TD > < P > bigint< / P > < / TD >
< TD > < P > references TourneyTypes.id (maybe this should be on Hands?)< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > wonWhenSeenStreet1(..4)< / P > < / TD >
< TD > < P > float< / P > < / TD >
< TD > < P > How many hands the player won after seeing the flop/street4 - this can be a "partial win" if the pot is split.< br >
To be completely clear, this stores a hand count, NOT a money amount.< br / >
(2/3/4: Same for turn/street5, river/street6, street7)< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > wonAtSD< / P > < / TD >
< TD > < P > float< / P > < / TD >
< TD > < P > As wonWhenSeenStreet1, but for showdown.< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0VPI< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > did player pay to see flop, 1 or 0< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0Aggr< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > did player raise before flop, 1 or 0< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0_3BChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > did player have chance to 3B, 1 or 0< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0_3BDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > did player 3bet before flop, 1 or 0< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0_4BChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > did player have chance to 4B, 1 or 0< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0_4BDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > did player 4bet before flop, 1 or 0< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > other_3BStreet0< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > did other player 3bet before flop, 1 or 0< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > other_4BStreet0< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > did other player 4bet before flop, 1 or 0< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1Seen(/2/3/4)< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > did player see flop/street4 (.. etc)< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > sawShowdown< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > did player see showdown< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1Aggr< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where player raised flop/street4< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2Aggr< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where player raised turn/street5< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street3Aggr< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where player raised river/street6< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4Aggr< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where player raised street7< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > otherRaisedStreet0< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where someone else raised pre-flop/street3< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > otherRaisedStreet1< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where someone else raised flop/street4< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > otherRaisedStreet2< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where someone else raised turn/street5< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > otherRaisedStreet3< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where someone else raised river/street6< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > otherRaisedStreet4< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where someone else raised street7< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToOtherRaisedStreet0< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where someone else raised flop/street4 and the player folded< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToOtherRaisedStreet1< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where someone else raised flop/street4 and the player folded< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToOtherRaisedStreet2< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where someone else raised Turn/street5 and the player folded< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToOtherRaisedStreet3< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where someone else raised River/street6 and the player folded< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToOtherRaisedStreet4< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where someone else raised street7 and the player folded< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > stealAttemptChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player was in CO, BTN or SB and nobody has called yet< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > stealAttempted< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player took a chance per the above condition< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldBbToStealChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Somebody tried to steal BB from player< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldedBbToSteal< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player folded BB to steal attempt< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldSbToStealChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Somebody tried to steal SB from player< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldedSbToSteal< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player folded SB to steal attempt< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1CBChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player had chance to make continuation bet on flop/street4< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1CBDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player used chance to make continuation bet on flop/street4< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2CBChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player had chance to make continuation bet on turn/street5< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2CBDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player used chance to make continuation bet on turn/street5< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street3CBChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player had chance to make continuation bet on river/street6< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street3CBDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player used chance to make continuation bet on river/street6< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4CBChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player had chance to make continuation bet on street7< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4CBDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player used chance to make continuation bet on street7< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToStreet1CBChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player had chance to fold to continuation bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToStreet1CBDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player used chance to fold to continuation bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToStreet2CBChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player had chance to fold to continuation bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToStreet2CBDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player used chance to fold to continuation bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToStreet3CBChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player had chance to fold to continuation bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToStreet3CBDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player used chance to fold to continuation bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToStreet4CBChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player had chance to fold to continuation bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldToStreet4CBDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player used chance to fold to continuation bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1CheckCallRaiseChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > How often player had the chance to do a check-raise or a call-raise on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1CheckCallRaiseDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > How often player used the chance to do a check-raise or a call-raise on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2CheckCallRaiseChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > How often player had the chance to do a check-raise or a call-raise on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2CheckCallRaiseDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > How often player used the chance to do a check-raise or a call-raise on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street3CheckCallRaiseChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > How often player had the chance to do a check-raise or a call-raise on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street3CheckCallRaiseDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > How often player used the chance to do a check-raise or a call-raise on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4CheckCallRaiseChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > How often player had the chance to do a check-raise or a call-raise on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4CheckCallRaiseDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > How often player used the chance to do a check-raise or a call-raise on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0Calls< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player called on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1Calls< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player called on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2Calls< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player called on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street3Calls< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player called on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4Calls< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player called on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0Bets< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1Bets< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2Bets< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street3Bets< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4Bets< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0Raises< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player raised on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1Raises< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player raised on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2Raises< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player raised on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street3Raises< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player raised on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4Raises< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player raised on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > actionString< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Experimental - idea is to store the action on this street as a string: e.g. kkBrcfC, with
player's own choices in upper case and other players in lower case. k=check, b=bet, c=call,
r=raise. (Perhaps NL would miss out bet sizes for this?) It would then be possible to do complex
ad-hoc queries using queries like: actionString like '%B%r%C%
< / P > < / TD >
< / TR >
2008-08-04 05:44:28 +02:00
< / TABLE >
2008-08-15 02:45:40 +02:00
< p > < BR > < / P >
2008-08-17 14:13:42 +02:00
< P > < B > Table HudCache< / B > < / P >
2008-08-04 05:44:28 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
< TD > < P > < b > Field Name< / b > < / P > < / TD >
< TD > < P > < b > Type< / b > < / P > < / TD >
< TD > < P > < b > Comment< / b > < / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > id< / P > < / TD >
< TD > < P > bigint< / P > < / TD >
2008-08-07 17:08:23 +02:00
< TD > < P > < br > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
< TD > < P > gametypeId< / P > < / TD >
< TD > < P > smallint< / P > < / TD >
< TD > < P > references gametypes.id< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > playerId< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > references players.id< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > activeSeats< / P > < / TD >
< TD > < P > smallint< / P > < / TD >
< TD > < P > range 2-10< / P > < / TD >
< / TR >
2008-08-17 14:13:42 +02:00
< TR VALIGN = TOP >
< TD > < P > position< / P > < / TD >
< TD > < P > char(1)< / P > < / TD >
< TD > < P > Position for which this row applies. In this table this can be B(BB), S(SB), D(Dealer/Button), C(Cutoff), M(Middle - the 3 before cutoff) or E (Early - the 3 before Middle)< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
2008-08-18 06:58:41 +02:00
< TD > < P > tourneyTypeId< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > smallint< / P > < / TD >
2008-08-18 06:58:41 +02:00
< TD > < P > References TourneyTypes.id< / P > < / TD >
2008-08-17 14:13:42 +02:00
< / TR >
2008-08-04 05:44:28 +02:00
< TR VALIGN = TOP >
< TD > < P > HDs< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands this player played in this gametype with this number of seats< / P > < / TD >
< / TR >
2009-06-07 22:55:49 +02:00
< TR VALIGN = TOP >
< TD > < P > wonWhenSeenStreet1(/2/3/4)< / P > < / TD >
< TD > < P > float< / P > < / TD >
< TD > < P > How many hands the player won after seeing the flop/street4 - this can be a "partial win" if the pot is split.< br >
To be completely clear, this stores a hand count, NOT a money amount.< br / >
(/2/3/4: Same for turn/street5, river/street6, street7)< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > wonAtSD< / P > < / TD >
< TD > < P > float< / P > < / TD >
< TD > < P > As wonWhenSeenStreet1, but for showdown.< / P > < / TD >
< / TR >
2008-08-04 05:44:28 +02:00
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street0VPI< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-20 21:29:08 +02:00
< TD > < P > number of hands where player paid to see flop< br >
Please note that this already includes street0Aggr!< br >
To calculate limp just deduct street0Aggr from this number< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street0Aggr< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where player raised before flop< / P > < / TD >
< / TR >
2008-08-05 01:14:17 +02:00
< TR VALIGN = TOP >
2009-06-07 22:55:49 +02:00
< TD > < P > street0_3BChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where player had chance to 3B before flop< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0_3BDone< / P > < / TD >
2008-08-05 01:14:17 +02:00
< TD > < P > int< / P > < / TD >
2009-06-07 22:55:49 +02:00
< TD > < P > number of hands where player 3bet before flop< / P > < / TD >
2008-08-05 01:14:17 +02:00
< / TR >
2008-08-04 05:44:28 +02:00
< TR VALIGN = TOP >
2009-06-07 22:55:49 +02:00
< TD > < P > street0_4BChance< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2009-06-07 22:55:49 +02:00
< TD > < P > number of hands where player had chance to 4B before flop< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0_4BDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where player 4bet before flop< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street1Seen< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > number of hands where player saw flop/street4< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street2Seen< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > number of hands where player saw turn/street5< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street3Seen< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > number of hands where player saw river/street6< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4Seen< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where player saw street7< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
< TD > < P > sawShowdown< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where player saw showdown< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street1Aggr< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where player raised flop/street4< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2Aggr< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where player raised turn/street5< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street3Aggr< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where player raised river/street6< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4Aggr< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > number of hands where player raised street7< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
2009-06-07 22:55:49 +02:00
< TR VALIGN = TOP >
< TD > < P > otherRaisedStreet0< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where someone else raised pre-flop/street3< / P > < / TD >
< / TR >
2008-08-04 05:44:28 +02:00
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > otherRaisedStreet1< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > number of hands where someone else raised flop/street4< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > otherRaisedStreet2< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > number of hands where someone else raised turn/street5< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > otherRaisedStreet3< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > number of hands where someone else raised river/street6< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > otherRaisedStreet4< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > number of hands where someone else raised street7< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
2009-06-07 22:55:49 +02:00
< TR VALIGN = TOP >
< TD > < P > foldToOtherRaisedStreet0< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > number of hands where someone else raised pre-flop/street3 and the player folded< / P > < / TD >
< / TR >
2008-08-04 05:44:28 +02:00
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > foldToOtherRaisedStreet1< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > number of hands where someone else raised flop/street4 and the player folded< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > foldToOtherRaisedStreet2< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > number of hands where someone else raised Turn/street5 and the player folded< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > foldToOtherRaisedStreet3< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > number of hands where someone else raised River/street6 and the player folded< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > foldToOtherRaisedStreet4< / P > < / TD >
2008-08-04 05:44:28 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > number of hands where someone else raised street7 and the player folded< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
2008-08-10 03:52:05 +02:00
< TR VALIGN = TOP >
< TD > < P > stealAttemptChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player was in CO, BTN or SB and nobody has called yet< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > stealAttempted< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player took a chance per the above condition< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldBbToStealChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Somebody tried to steal BB from player< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldedBbToSteal< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player folded BB to steal attempt< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldSbToStealChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Somebody tried to steal SB from player< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > foldedSbToSteal< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player folded SB to steal attempt< / P > < / TD >
< / TR >
2008-08-13 07:50:30 +02:00
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street1CBChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player had chance to make continuation bet on flop/street4< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1CBDone< / P > < / TD >
2008-08-13 07:50:30 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > Player used chance to make continuation bet on flop/street4< / P > < / TD >
2008-08-13 07:50:30 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street2CBChance< / P > < / TD >
2008-08-13 07:50:30 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > Player had chance to make continuation bet on turn/street5< / P > < / TD >
2008-08-13 07:50:30 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street2CBDone< / P > < / TD >
2008-08-13 07:50:30 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > Player used chance to make continuation bet on turn/street5< / P > < / TD >
2008-08-13 07:50:30 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street3CBChance< / P > < / TD >
2008-08-13 07:50:30 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > Player had chance to make continuation bet on river/street6< / P > < / TD >
2008-08-13 07:50:30 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street3CBDone< / P > < / TD >
2008-08-13 07:50:30 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > Player used chance to make continuation bet on river/street6< / P > < / TD >
2008-08-13 07:50:30 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street4CBChance< / P > < / TD >
2008-08-13 07:50:30 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > Player had chance to make continuation bet on street7< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4CBDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player used chance to make continuation bet on street7< / P > < / TD >
2008-08-13 07:50:30 +02:00
< / TR >
2008-08-16 23:03:27 +02:00
2008-08-15 04:32:27 +02:00
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > foldToStreet1CBChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player had chance to fold to continuation bet on this street< / P > < / TD >
2008-08-16 23:03:27 +02:00
< / TR >
2008-08-16 08:16:50 +02:00
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > foldToStreet1CBDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Player used chance to fold to continuation bet on this street< / P > < / TD >
2008-08-16 08:16:50 +02:00
< / TR >
2008-08-16 23:03:27 +02:00
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > foldToStreet2CBChance< / P > < / TD >
2008-08-16 23:03:27 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > Player had chance to fold to continuation bet on this street< / P > < / TD >
2008-08-16 23:03:27 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > foldToStreet2CBDone< / P > < / TD >
2008-08-16 23:03:27 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > Player used chance to fold to continuation bet on this street< / P > < / TD >
2008-08-16 23:03:27 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > foldToStreet3CBChance< / P > < / TD >
2008-08-16 23:03:27 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > Player had chance to fold to continuation bet on this street< / P > < / TD >
2008-08-16 23:03:27 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > foldToStreet3CBDone< / P > < / TD >
2008-08-16 23:03:27 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > Player used chance to fold to continuation bet on this street< / P > < / TD >
2008-08-16 23:03:27 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > foldToStreet4CBChance< / P > < / TD >
2008-08-16 23:03:27 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > Player had chance to fold to continuation bet on this street< / P > < / TD >
2008-08-16 23:03:27 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > foldToStreet4CBDone< / P > < / TD >
2008-08-16 23:03:27 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > Player used chance to fold to continuation bet on this street< / P > < / TD >
2008-08-16 23:03:27 +02:00
< / TR >
< TR VALIGN = TOP >
< TD > < P > totalProfit< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > how much money in cents the player made< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street1CheckCallRaiseChance< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > How often player had the chance to do a check-raise or a call-raise on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1CheckCallRaiseDone< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > How often player used the chance to do a check-raise or a call-raise on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2CheckCallRaiseChance< / P > < / TD >
2008-08-16 23:03:27 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > How often player had the chance to do a check-raise or a call-raise on this street< / P > < / TD >
2008-08-16 23:03:27 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street2CheckCallRaiseDone< / P > < / TD >
2008-08-16 23:03:27 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > How often player used the chance to do a check-raise or a call-raise on this street< / P > < / TD >
2008-08-16 23:03:27 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street3CheckCallRaiseChance< / P > < / TD >
2008-08-16 23:03:27 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > How often player had the chance to do a check-raise or a call-raise on this street< / P > < / TD >
2008-08-16 23:03:27 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street3CheckCallRaiseDone< / P > < / TD >
2008-08-16 23:03:27 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > How often player used the chance to do a check-raise or a call-raise on this street< / P > < / TD >
2008-08-16 23:03:27 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street4CheckCallRaiseChance< / P > < / TD >
2008-08-16 23:03:27 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > How often player had the chance to do a check-raise or a call-raise on this street< / P > < / TD >
2008-08-16 23:03:27 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-17 14:13:42 +02:00
< TD > < P > street4CheckCallRaiseDone< / P > < / TD >
2008-08-16 23:03:27 +02:00
< TD > < P > int< / P > < / TD >
2008-08-17 14:13:42 +02:00
< TD > < P > How often player used the chance to do a check-raise or a call-raise on this street< / P > < / TD >
2008-08-15 04:32:27 +02:00
< / TR >
2008-08-16 23:03:27 +02:00
2009-06-07 22:55:49 +02:00
< TR VALIGN = TOP >
< TD > < P > street0Calls< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player called on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1Calls< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player called on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2Calls< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player called on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street3Calls< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player called on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4Calls< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player called on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0Bets< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1Bets< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2Bets< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street3Bets< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4Bets< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player bet on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street0Raises< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player raised on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street1Raises< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player raised on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street2Raises< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player raised on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street3Raises< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player raised on this street< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > street4Raises< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Number of times player raised on this street< / P > < / TD >
< / TR >
2008-08-04 05:44:28 +02:00
< / TABLE >
< P > < / P >
2008-08-15 02:45:40 +02:00
< P > < B > Table HandsActions< / B > < / P >
2008-08-08 23:03:43 +02:00
< p > Did separate this into an extra table because it makes SELECTing across different streets so much easier. Also the space saving will be very large.< / P >
2008-08-04 05:44:28 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
< TD > < P > Field Name< / P > < / TD >
2008-08-08 23:03:43 +02:00
< TD > < P > Type< / P > < / TD >
< TD > < P > Comment< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-08 23:03:43 +02:00
< TD > < P > id< / P > < / TD >
< TD > < P > bigint< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > handPlayerId< / P > < / TD >
2008-08-08 23:03:43 +02:00
< TD > < P > bigint< / P > < / TD >
2008-08-15 02:45:40 +02:00
< TD > < P > references HandsPlayers.id< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-08 23:03:43 +02:00
< TD > < P > street< / P > < / TD >
< TD > < P > smallint< / P > < / TD >
< TD > < p > street number, 0-3 (preflop, flop, turn, river) for holdem/omaha or 0-4 for razz/stud< / P > < P > -1 for seen showdown< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > actionNo< / P > < / TD >
2008-08-08 23:03:43 +02:00
< TD > < P > smallint< / P > < / TD >
< TD > < P > action number, this is counted from zero for each street but across all players (e.g. in a heads up where the SB calls and the BB raises and the SB calls again would have numbers 0 and 1 for blinds, 2 and 4 for call and 3 for bet)< br >
Note that the blinds are counted as an action, so if the SB stays in the hand it'll always be action #0< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-08 23:03:43 +02:00
< TD > < P > action< / P > < / TD >
< TD > < P > char(5)< / P > < / TD >
2008-09-22 23:12:03 +02:00
< TD > < P > Bet stands for bring in, complete, bet, double bet, raise and double raise, since they all - technically - do the same thing. Unbet is used for when an uncalled bet is returned, this will have a negative value for amount.< / P >
2008-08-08 23:03:43 +02:00
< P > Other valid values: blind call check fold< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
2008-10-06 05:26:59 +02:00
< TR VALIGN = TOP >
< TD > < P > allIn< / P > < / TD >
< TD > < P > boolean< / P > < / TD >
< TD > < P > Whether the player went all-in on this action< / P > < / TD >
< / TR >
2008-08-04 05:44:28 +02:00
< TR VALIGN = TOP >
2008-08-08 23:03:43 +02:00
< TD > < P > amount< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > amount put into the middle for this action< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-08 23:03:43 +02:00
< TD > < P > comment< / P > < / TD >
< TD > < P > text< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > commentTs< / P > < / TD >
2008-08-08 23:03:43 +02:00
< TD > < P > datetime (in UTC)< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< / TABLE >
2008-08-08 23:03:43 +02:00
< p > < BR > < / P >
2008-08-04 05:44:28 +02:00
< p > < B > Tournament Tables< / B > < / P >
< p > < BR > < / P >
2008-08-15 02:45:40 +02:00
< p > < B > Table Tourneys< / B > < / P >
2008-08-04 05:44:28 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > Field name< / P > < / TD >
< TD > < P > Type< / P > < / TD >
< TD > < P > Comment< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > id< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-18 06:58:41 +02:00
< TD > < P > tourneyTypeId< / P > < / TD >
2008-08-15 02:45:40 +02:00
< TD > < P > smallint< / P > < / TD >
2008-08-18 06:58:41 +02:00
< TD > < P > References TourneyTypes.id< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > siteTourneyNo< / P > < / TD >
< TD > < P > bigint< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
2008-08-15 04:32:27 +02:00
< TR VALIGN = TOP >
< TD > < P > entries< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > -1 if unknown< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > prizepool< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < p > Need this as separate field to support rebuy/addon< / P > < P > -1 if unknown< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > startTime< / P > < / TD >
< TD > < P > datetime (in UTC)< / P > < / TD >
< TD > < P > Empty if unknown< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > comment< / P > < / TD >
< TD > < P > text< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > commentTs< / P > < / TD >
< TD > < P > datetime (in UTC)< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< / TABLE >
2008-08-15 04:32:27 +02:00
< p > < BR > < / P >
2008-08-18 06:58:41 +02:00
< p > < B > Table TourneyTypes< / B > < / P >
2008-08-15 05:28:51 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
< TD > < P > Field name< / P > < / TD >
< TD > < P > Type< / P > < / TD >
< TD > < P > Comment< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > id< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > siteId< / P > < / TD >
< TD > < P > smallint< / P > < / TD >
< TD > < P > References Sites.id< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > buyin< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Buy-in in cents. Without rebuy/add-on< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > fee< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > knockout< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > rebuyOrAddon< / P > < / TD >
< TD > < P > boolean< / P > < / TD >
< TD > < P > Whether rebuys or add-ons are possible< / P > < / TD >
< / TR >
< / TABLE >
< p > < BR > < / P >
2008-08-15 02:45:40 +02:00
< p > < B > Table TourneysPlayers< / B > < / P >
2008-08-04 05:44:28 +02:00
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > Field Name< / P > < / TD >
< TD > < P > Type< / P > < / TD >
< TD > < P > Comment< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > id< / P > < / TD >
< TD > < P > bigint< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 02:45:40 +02:00
< TD > < P > tourneyId< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > References Tourneys.id< / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< TR VALIGN = TOP >
2008-08-15 04:32:27 +02:00
< TD > < P > playerId< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > References Players.id< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > payinAmount< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Buyin, fee, rebuys and add-ons< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > rank< / P > < / TD >
< TD > < P > int< / P > < / TD >
< TD > < P > Finishing rank< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > winnings< / P > < / TD >
< TD > < P > signed int< / P > < / TD >
< TD > < P > Winnings (not profit) by this player, -1 if unknown.< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > comment< / P > < / TD >
< TD > < P > text< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > commentTs< / P > < / TD >
< TD > < P > datetime (in UTC)< / P > < / TD >
< TD > < P > < BR > < / P > < / TD >
2008-08-04 05:44:28 +02:00
< / TR >
< / TABLE >
2009-06-07 22:55:49 +02:00
< p > < BR > < / P >
< p > < B > Possible Changes< / B > < / P >
< TABLE BORDER = 1 CELLPADDING = 2 CELLSPACING = 0 >
< TR VALIGN = TOP >
< TD > < P > Table< / P > < / TD >
< TD > < P > Comment< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > BoardCards< / P > < / TD >
< TD > < P > Remove as these attributes are now stored on Hands< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > HandsActions< / P > < / TD >
< TD > < P > Remove if/when these attributes are stored on Hands or elsewhere< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > HandsPlayers< / P > < / TD >
< TD > < P > Move tourneyTypeId field to Hands table.< / P > < / TD >
< / TR >
< TR VALIGN = TOP >
< TD > < P > Comments< / P > < / TD >
< TD > < P > Comment fields on various tables should probably be moved to a single comment table. Aim
should be to where possible reduce tables to a list of fixed length not-null columns and have
the larger, sparser comment columns in a dedicated table. (May not be possible or practical but
something to aim at.)< / P > < / TD >
< / TR >
< / TABLE >
2008-08-04 05:44:28 +02:00
< / BODY >
< / HTML >