-Bump database version to 2.

-Added migration script for upgrading database from version 1 to 2.
-Fixed database name of stream type in stream entity.
This commit is contained in:
John Zhen Mo 2018-01-17 13:24:59 -08:00
parent 91c7dbef59
commit 29688e80e7
6 changed files with 62 additions and 11 deletions

View file

@ -35,7 +35,7 @@ public class StreamRecordManager {
}
public int removeHistory(final long streamId) {
return historyTable.deleteHistory(streamId);
return historyTable.deleteStreamHistory(streamId);
}
public Flowable<List<StreamStatisticsEntry>> getStatistics() {