diff options
| author | aura <nw@moneybot.cc> | 2026-02-17 23:42:09 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-02-17 23:42:09 +0100 |
| commit | 5e2eb7d67ae933b7566f1944d0bb7744da03d586 (patch) | |
| tree | 054acff1113270a9cd07933df760f3768c1b6853 /sourcemod/scripting/gokz-localdb/db/create_tables.sp | |
| parent | 341db13a008dc12bb22ceb50452d93d01476308c (diff) | |
move source stuff to its own folder
Diffstat (limited to 'sourcemod/scripting/gokz-localdb/db/create_tables.sp')
| -rw-r--r-- | sourcemod/scripting/gokz-localdb/db/create_tables.sp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/sourcemod/scripting/gokz-localdb/db/create_tables.sp b/sourcemod/scripting/gokz-localdb/db/create_tables.sp deleted file mode 100644 index 2138830..0000000 --- a/sourcemod/scripting/gokz-localdb/db/create_tables.sp +++ /dev/null @@ -1,36 +0,0 @@ -/* - Table creation and alteration. -*/ - - - -void DB_CreateTables() -{ - Transaction txn = SQL_CreateTransaction(); - - switch (g_DBType) - { - case DatabaseType_SQLite: - { - txn.AddQuery(sqlite_players_create); - txn.AddQuery(sqlite_maps_create); - txn.AddQuery(sqlite_mapcourses_create); - txn.AddQuery(sqlite_times_create); - txn.AddQuery(sqlite_jumpstats_create); - txn.AddQuery(sqlite_vbpos_create); - txn.AddQuery(sqlite_startpos_create); - } - case DatabaseType_MySQL: - { - txn.AddQuery(mysql_players_create); - txn.AddQuery(mysql_maps_create); - txn.AddQuery(mysql_mapcourses_create); - txn.AddQuery(mysql_times_create); - txn.AddQuery(mysql_jumpstats_create); - txn.AddQuery(mysql_vbpos_create); - txn.AddQuery(mysql_startpos_create); - } - } - - SQL_ExecuteTransaction(gH_DB, txn, _, DB_TxnFailure_Generic, _, DBPrio_High); -}
\ No newline at end of file |
