Implement DB upgrade migration

This commit is contained in:
Michael Sproul
2022-03-10 15:31:32 +11:00
parent 0ee31a0a69
commit b4c60807dd
6 changed files with 258 additions and 19 deletions

View File

@@ -4,7 +4,7 @@ use ssz::{Decode, Encode};
use ssz_derive::{Decode, Encode};
use types::{Checkpoint, Hash256, Slot};
pub const CURRENT_SCHEMA_VERSION: SchemaVersion = SchemaVersion(9000);
pub const CURRENT_SCHEMA_VERSION: SchemaVersion = SchemaVersion(10);
// All the keys that get stored under the `BeaconMeta` column.
//