summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-25 14:16:34 +0200
committeremkael <emkael@tlen.pl>2017-08-25 14:16:34 +0200
commit28553070697536a2a987d203f19ca92fe2619d4c (patch)
treee491fed8df90c7931076d80d3935e915f3fa1d2d
parent8cfc4756b2de5e619acd40782a73c2352aa20cd5 (diff)
Adding Group field to Tables table on convert (single-section BWS files from Pary did not generate it)
-rw-r--r--Aktywator/Bws.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index ab15670..3906ed9 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -208,6 +208,14 @@ namespace Aktywator
try
{
+ sql.query("ALTER TABLE Tables ADD COLUMN `Group` integer;");
+ }
+ catch (OleDbException)
+ {
+ }
+
+ try
+ {
sql.query("CREATE TABLE PlayerNames (ID integer, Name text(18));");
}
catch (OleDbException)