summaryrefslogtreecommitdiff
path: root/Aktywator
diff options
context:
space:
mode:
Diffstat (limited to 'Aktywator')
-rw-r--r--Aktywator/Bws.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index 79e5121..dfbbe23 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -389,6 +389,15 @@ namespace Aktywator
try
{
+ sql.query("ALTER TABLE `Section` ADD COLUMN `Winners` integer;");
+ }
+ catch (OleDbException)
+ {
+ }
+ sql.query("UPDATE `Section` SET Winners = 1");
+
+ try
+ {
sql.query("CREATE TABLE PlayerNames (ID integer, Name text(18));");
}
catch (OleDbException)