diff --git a/src/Properties/AssemblyInfo.cs b/src/Properties/AssemblyInfo.cs
index f472f06..c46e6f8 100644
--- a/src/Properties/AssemblyInfo.cs
+++ b/src/Properties/AssemblyInfo.cs
@@ -33,7 +33,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.1.0.0")]
-[assembly: AssemblyFileVersion("1.1.0.0")]
+[assembly: AssemblyVersion("1.2.0.0")]
+[assembly: AssemblyFileVersion("1.2.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
diff --git a/src/Updates/Updates.cs b/src/Updates/Updates.cs
index 20374cd..bc108fc 100644
--- a/src/Updates/Updates.cs
+++ b/src/Updates/Updates.cs
@@ -16,6 +16,11 @@ public override void PerformUpdate(DataStore store, int currentSchemaVersion)
EpiUpdate_0001(store);
}
+ if (currentSchemaVersion < 2)
+ {
+ EpiUpdate_0002(store);
+ }
+
#if DEBUG
//Verify that all expected indexes exist after the update because it is easy to forget to recreate them after
//adding a column to an existing table (which requires the table to be recreated if you want to preserve column order.)
@@ -74,8 +79,24 @@ private static void EpiUpdate_0001(DataStore store)
store.ExecuteNonQuery("DROP TABLE TEMP_TABLE");
//Index
- CreateIndex(store, "epi_DataSummary", new string[] {
+ UpdateProvider.CreateIndex(store, "epi_DataSummary", new string[] {
"ScenarioID", "TransformerID", "Iteration", "Timestep", "Variable", "Jurisdiction" });
}
+
+ ///
+ /// EpiUpdate_0002
+ ///
+ /// This update changes the variable names in the corstime_Chart "Criteria" column(s) to use the
+ /// variable name instead of the group name. This change is required because selecting disaggregate
+ /// and include data by group is no longer supported as of SyncroSim v2.4.27.
+ ///
+ ///
+ private static void EpiUpdate_0002(DataStore store)
+ {
+ UpdateProvider.RemoveChartGroupCriteria(store, new[]
+ {
+ "epi_Variables|epi_Variable"
+ });
+ }
}
}
diff --git a/src/package.xml b/src/package.xml
index 971faf4..7670d7f 100644
--- a/src/package.xml
+++ b/src/package.xml
@@ -1,5 +1,5 @@
-
+
-
-
+
+
@@ -97,8 +97,8 @@
classAssembly="SyncroSim.Core.Forms"/>