[chronojump] DB: 2.17: Created table lastJumpRjTypeParams
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] DB: 2.17: Created table lastJumpRjTypeParams
- Date: Mon, 12 Apr 2021 13:40:22 +0000 (UTC)
commit e6b7b81e2b82fb680813a75f97febb57aed7ee78
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Apr 12 15:37:50 2021 +0200
DB: 2.17: Created table lastJumpRjTypeParams
src/sqlite/main.cs | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/src/sqlite/main.cs b/src/sqlite/main.cs
index ca2a9dce..0f2791f8 100644
--- a/src/sqlite/main.cs
+++ b/src/sqlite/main.cs
@@ -129,7 +129,7 @@ class Sqlite
/*
* Important, change this if there's any update to database
*/
- static string lastChronojumpDatabaseVersion = "2.16";
+ static string lastChronojumpDatabaseVersion = "2.17";
public Sqlite()
{
@@ -2919,6 +2919,14 @@ class Sqlite
currentVersion = updateVersion("2.16");
}
+ if(currentVersion == "2.16")
+ {
+ LogB.SQL("Created table lastJumpRjTypeParams");
+
+ SqliteJumpType.createTableLastJumpRjTypeParams();
+
+ currentVersion = updateVersion("2.17");
+ }
@@ -3045,6 +3053,7 @@ class Sqlite
SqliteJumpType.initializeTableJumpType();
SqliteJumpType.initializeTableJumpRjType();
SqliteJumpType.createTableLastJumpSimpleTypeParams();
+ SqliteJumpType.createTableLastJumpRjTypeParams();
//runs
creationRate ++;
@@ -3141,6 +3150,7 @@ class Sqlite
//just testing: 1.79 - 1.80 Converted DB to 1.80 Created table ForceSensorElasticBandGlue and moved
stiffnessString records there
+ //2.16 - 2.17 Converted DB to 2.17 Created table lastJumpRjTypeParams
//2.15 - 2.16 Converted DB to 2.16 Created table lastJumpSimpleTypeParams
//2.14 - 2.15 Converted DB to 2.15 Inserted into preferences: SessionLoadDisplay
//2.13 - 2.14 Converted DB to 2.14 Doing alter table run, runInterval, tempRunInterval add
datetime
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]