Initial implementation of plugin DB upgrade support
This commit is contained in:
parent
aea0d9bab1
commit
6a81f5de16
11 changed files with 295 additions and 106 deletions
|
|
@ -32,7 +32,6 @@ public class SensorDataAggregationDaemonTest {
|
|||
System.out.println("Upgrading in-memory database to latest version");
|
||||
DBConnection referenceDB = new DBConnection(DBConnection.DBMS.SQLite, DEFAULT_DB_FILE);
|
||||
final DBUpgradeHandler handler = new DBUpgradeHandler(referenceDB);
|
||||
handler.addIgnoredTable("db_version_history");
|
||||
handler.addIgnoredTable("sqlite_sequence"); //sqlite internal
|
||||
handler.setTargetDB(db);
|
||||
handler.upgrade();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue