Merge branch 'master' of git://repo.or.cz/fpbd-bostik

This commit is contained in:
Worros
2009-09-19 19:25:01 +08:00
11 changed files with 109 additions and 1 deletions
+2
View File
@@ -1014,6 +1014,8 @@ class Database:
c.execute("INSERT INTO Sites (name,currency) VALUES ('PartyPoker', 'USD')")
if self.backend == self.SQLITE:
c.execute("INSERT INTO TourneyTypes (id, siteId, buyin, fee) VALUES (NULL, 1, 0, 0);")
elif self.backend == self.PGSQL:
c.execute("insert into TourneyTypes values (0,1,0,0,0,'0','0',null,'0','0','0');")
else:
c.execute("insert into TourneyTypes values (0,1,0,0,0,0,0,null,0,0,0);")
+1 -1
View File
@@ -400,7 +400,7 @@ class Sql:
endTime timestamp without time zone,
buyinChips INT,
tourneyName varchar(40),
matrixIdProcessed SMALLINT UNSIGNED DEFAULT 0, /* Mask use : 1=Positionnal Winnings|2=Match1|4=Match2|...|pow(2,n)=Matchn */
matrixIdProcessed SMALLINT DEFAULT 0, /* Mask use : 1=Positionnal Winnings|2=Match1|4=Match2|...|pow(2,n)=Matchn */
rebuyChips INT DEFAULT 0,
addonChips INT DEFAULT 0,
rebuyAmount INT DEFAULT 0,