Skip to content

Commit

Permalink
Fix statistics table and increment schema version (#2624)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphjaph authored Nov 2, 2023
1 parent 52ee3eb commit 1f948f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -78,6 +78,7 @@ pub enum List {

#[derive(Copy, Clone)]
pub(crate) enum Statistic {
Schema = 0,
BlessedInscriptions,
Commits,
CursedInscriptions,
Expand All @@ -87,7 +88,6 @@ pub(crate) enum Statistic {
OutputsTraversed,
Runes,
SatRanges,
Schema,
UnboundInscriptions,
}

Expand Down

0 comments on commit 1f948f0

Please sign in to comment.