summaryrefslogtreecommitdiff
path: root/sourcemod/scripting/gokz-localranks/db/create_tables.sp
diff options
context:
space:
mode:
Diffstat (limited to 'sourcemod/scripting/gokz-localranks/db/create_tables.sp')
-rw-r--r--sourcemod/scripting/gokz-localranks/db/create_tables.sp27
1 files changed, 0 insertions, 27 deletions
diff --git a/sourcemod/scripting/gokz-localranks/db/create_tables.sp b/sourcemod/scripting/gokz-localranks/db/create_tables.sp
deleted file mode 100644
index a15f67c..0000000
--- a/sourcemod/scripting/gokz-localranks/db/create_tables.sp
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- Table creation and alteration.
-*/
-
-
-
-void DB_CreateTables()
-{
- Transaction txn = SQL_CreateTransaction();
-
- // Create/alter database tables
- switch (g_DBType)
- {
- case DatabaseType_SQLite:
- {
- txn.AddQuery(sqlite_maps_alter1);
- }
- case DatabaseType_MySQL:
- {
- txn.AddQuery(mysql_maps_alter1);
- }
- }
-
- // No error logs for this transaction as it will always throw an error
- // if the column already exists, which is more annoying than helpful.
- SQL_ExecuteTransaction(gH_DB, txn, _, _, _, DBPrio_High);
-} \ No newline at end of file