mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-06 18:08:26 +00:00
sql-create-tables-and-migrations.sp - add stylerankings table
This commit is contained in:
parent
0ebfa900b9
commit
139e771386
@ -182,6 +182,11 @@ public void SQL_CreateTables(Database hSQL, const char[] prefix, int driver)
|
||||
gS_SQLPrefix, sOptionalINNODB);
|
||||
AddQueryLog(trans, sQuery);
|
||||
|
||||
FormatEx(sQuery, sizeof(sQuery),
|
||||
"CREATE TABLE IF NOT EXISTS `%sstylerankings` (`auth` INT NOT NULL, `style` TINYINT NOT NULL, `points` FLOAT NOT NULL DEFAULT 0, PRIMARY KEY (`auth`, `style`));",
|
||||
gS_SQLPrefix);
|
||||
AddQueryLog(trans, sQuery);
|
||||
|
||||
//
|
||||
//// shavit-stats
|
||||
//
|
||||
|
||||
Loading…
Reference in New Issue
Block a user