db_version 2

This commit is contained in:
debris 2016-02-09 10:19:04 +01:00
parent bb3ffe5764
commit e911e64704

View File

@ -50,7 +50,7 @@ impl Clone for JournalDB {
const LAST_ERA_KEY : [u8; 4] = [ b'l', b'a', b's', b't' ]; const LAST_ERA_KEY : [u8; 4] = [ b'l', b'a', b's', b't' ];
const VERSION_KEY : [u8; 4] = [ b'j', b'v', b'e', b'r' ]; const VERSION_KEY : [u8; 4] = [ b'j', b'v', b'e', b'r' ];
const DB_VERSION: u32 = 1; const DB_VERSION: u32 = 2;
impl JournalDB { impl JournalDB {
/// Create a new instance given a `backing` database. /// Create a new instance given a `backing` database.