From 1f948f0f10ad08a0cb3326e7c3219c5b1d105678 Mon Sep 17 00:00:00 2001 From: raph Date: Thu, 2 Nov 2023 19:02:05 +0100 Subject: [PATCH] Fix statistics table and increment schema version (#2624) --- src/index.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.rs b/src/index.rs index b20f40bddd..8657b89edf 100644 --- a/src/index.rs +++ b/src/index.rs @@ -35,7 +35,7 @@ mod updater; #[cfg(test)] pub(crate) mod testing; -const SCHEMA_VERSION: u64 = 9; +const SCHEMA_VERSION: u64 = 10; macro_rules! define_table { ($name:ident, $key:ty, $value:ty) => { @@ -78,6 +78,7 @@ pub enum List { #[derive(Copy, Clone)] pub(crate) enum Statistic { + Schema = 0, BlessedInscriptions, Commits, CursedInscriptions, @@ -87,7 +88,6 @@ pub(crate) enum Statistic { OutputsTraversed, Runes, SatRanges, - Schema, UnboundInscriptions, }