blub
This commit is contained in:
@@ -232,7 +232,7 @@ public void SQL_OnDatabaseConnect(Database db, const char[] error, any data)
|
||||
g_hDatabase = db;
|
||||
|
||||
char sQuery[256];
|
||||
Format(sQuery, sizeof(sQuery), "CREATE TABLE IF NOT EXISTS halloween_table (`steam_auth` varchar(64), `name` varchar(256), `collected` int(16), PRIMARY KEY (`steam_auth`))");
|
||||
Format(sQuery, sizeof(sQuery), "CREATE TABLE IF NOT EXISTS halloween_table (`steam_auth` varchar(64), `name` varchar(256), `collected` int(16), PRIMARY KEY (`steam_auth`), INDEX (`collected`))");
|
||||
|
||||
g_hDatabase.Query(SQL_OnTableCreated, sQuery, _, DBPrio_High);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user