Fix table creation for Postgres
PostgreSQL does not have an UNSIGNED specifier in its language. Mysql's "TINYINT UNSIGNED" is postgreSQL's "SMALLINT" which is a bit inconvenient but apart from annoying, not a problem.
This commit is contained in:
+1
-1
@@ -400,7 +400,7 @@ class Sql:
|
|||||||
endTime timestamp without time zone,
|
endTime timestamp without time zone,
|
||||||
buyinChips INT,
|
buyinChips INT,
|
||||||
tourneyName varchar(40),
|
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,
|
rebuyChips INT DEFAULT 0,
|
||||||
addonChips INT DEFAULT 0,
|
addonChips INT DEFAULT 0,
|
||||||
rebuyAmount INT DEFAULT 0,
|
rebuyAmount INT DEFAULT 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user