From 5e2eb7d67ae933b7566f1944d0bb7744da03d586 Mon Sep 17 00:00:00 2001 From: aura Date: Tue, 17 Feb 2026 23:42:09 +0100 Subject: move source stuff to its own folder --- .../scripting/gokz-localranks/db/create_tables.sp | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 sourcemod/scripting/gokz-localranks/db/create_tables.sp (limited to 'sourcemod/scripting/gokz-localranks/db/create_tables.sp') 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 -- cgit v1.2.3